Init(args)
Scripting Reference
Loading...
Searching...
No Matches

◆ IsClassMemberSerialized()

static bool Sisus.Init.Reflection.InjectionUtility.IsClassMemberSerialized ( [DisallowNull] Type classType,
[DisallowNull] string memberName )
static

Returns a value indicating whether or not field or property by name memberName on class classType is serialized or not.

Parameters
classTypeType of the class that contains the field or property.
memberNameThe name of an instance field or property that exists on class classType or one of its inherited types.
Returns
true if field or property by name memberName is serialized; otherwise false.
Exceptions
MissingMemberExceptionThrown if no field or property by name memberName is found on class classType or any of its inherited types.