DataMemberInfo Class

Represents a serializable instance field or property on a class within a serializable class hierarchy structure. The field or property must be decorated with a DataMemberAttribute.

Definition

Namespace: MFiles.VAF.Configuration.JsonMapping
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
public class DataMemberInfo
Inheritance
Object    DataMemberInfo

Constructors

DataMemberInfo Constructor.

Properties

DataMemberAttr The DataMemberAttribute decorating this member.
IsList Indicates whether the data member contains a list of items.
IsNullable Indicates whether the data member's type is nullable.
MemberInfo The reflected information about the field or property that is represented by this object.
Name The name of the data member.
Parent The parent data member within a class hierarchy. I.E. The data member whose type pointed to this data member's declaring type.
Type The type of value the data member holds.
UnderlyingType The underlying type of value that the data member, disregarding any generic list or nullable wrappers.

Methods

GetAttributeT Helper method for accessing the data member's attribute.
GetAttributesT Helper method for accessing the data member's attributes.
GetDataMembers Resolves all the data members defined in a class type.

See Also