C# Class Platform.Xml.Serialization.SerializationMemberInfo

Stores pre calculated information about a member or type that is used when serializing that member.
Inheritance: IGetterSetter
Afficher le fichier Open project: platformdotnet/Platform Class Usage Examples

Protected Properties

Свойство Type Description
applicableMemberAttributes Platform.Xml.Serialization.XmlSerializationAttribute[]
applicableTypeAttributes Platform.Xml.Serialization.XmlSerializationAttribute[]
getterSetter IGetterSetter
memberInfo System.Reflection.MemberInfo
polymorphicTypeProvider IXmlDynamicTypeProvider
returnType System.Type
serializeAsCData bool
serializeAsValueNodeAttributeName string
serializeIfNull bool
serializedName string
serializedNamespace string
serializedNodeType System.Xml.XmlNodeType
treatAsNullIfEmpty bool
typeSerializer TypeSerializer
typeSerializerCache TypeSerializerCache

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool
GetApplicableAttributes ( Type types ) : Platform.Xml.Serialization.XmlSerializationAttribute[]
GetApplicableAttributes ( bool includeTypeAttributes, Type types ) : Platform.Xml.Serialization.XmlSerializationAttribute[]
GetApplicableAttributes ( bool includeTypeAttributes, bool includeAttributeSubclasses, Type types ) : Platform.Xml.Serialization.XmlSerializationAttribute[]
GetFirstApplicableAttribute ( Type type ) : XmlSerializationAttribute
GetFirstApplicableAttribute ( bool includeTypeAttributes ) : XmlSerializationAttribute
GetFirstApplicableAttribute ( bool includeTypeAttributes, Type type ) : XmlSerializationAttribute
GetHashCode ( ) : int
GetReturnType ( XmlReader reader ) : Type
GetReturnType ( object obj ) : Type
GetSerializer ( XmlReader reader ) : TypeSerializer
GetSerializer ( object obj ) : TypeSerializer
GetValue ( object obj ) : object
HasApplicableAttribute ( Type attributeType ) : bool
SerializationMemberInfo ( MemberInfo memberInfo, SerializerOptions options, TypeSerializerCache cache ) : System
SerializationMemberInfo ( MemberInfo memberInfo, SerializerOptions options, TypeSerializerCache cache, bool includeIfUnattributed ) : System
SetValue ( object obj, object val ) : void
WalkApplicableAttributes ( bool includeTypeAttributes, bool includeAttributeSubclasses, Type types ) : System.Collections.Generic.IEnumerable

Méthodes protégées

Méthode Description
Scan ( SerializerOptions options, bool includeIfUnattributed ) : void

Prescans the type.

Private Methods

Méthode Description
ExtractApplicableAttributes ( object attributes, SerializerOptions options ) : Platform.Xml.Serialization.XmlSerializationAttribute[]
GetAttributeDeclaringType ( Type type, Attribute attribute ) : Type
GetCustomAttributes ( MemberInfo memberInfo, Type type, bool inherit ) : object[]
GetDeclaredType ( MemberInfo memberInfo ) : Type
LoadAttributes ( SerializerOptions options ) : void

Method Details

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetApplicableAttributes() public méthode

public GetApplicableAttributes ( Type types ) : Platform.Xml.Serialization.XmlSerializationAttribute[]
types System.Type
Résultat Platform.Xml.Serialization.XmlSerializationAttribute[]

GetApplicableAttributes() public méthode

public GetApplicableAttributes ( bool includeTypeAttributes, Type types ) : Platform.Xml.Serialization.XmlSerializationAttribute[]
includeTypeAttributes bool
types System.Type
Résultat Platform.Xml.Serialization.XmlSerializationAttribute[]

GetApplicableAttributes() public méthode

public GetApplicableAttributes ( bool includeTypeAttributes, bool includeAttributeSubclasses, Type types ) : Platform.Xml.Serialization.XmlSerializationAttribute[]
includeTypeAttributes bool
includeAttributeSubclasses bool
types System.Type
Résultat Platform.Xml.Serialization.XmlSerializationAttribute[]

GetFirstApplicableAttribute() public méthode

public GetFirstApplicableAttribute ( Type type ) : XmlSerializationAttribute
type System.Type
Résultat XmlSerializationAttribute

GetFirstApplicableAttribute() public méthode

public GetFirstApplicableAttribute ( bool includeTypeAttributes ) : XmlSerializationAttribute
includeTypeAttributes bool
Résultat XmlSerializationAttribute

GetFirstApplicableAttribute() public méthode

public GetFirstApplicableAttribute ( bool includeTypeAttributes, Type type ) : XmlSerializationAttribute
includeTypeAttributes bool
type System.Type
Résultat XmlSerializationAttribute

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetReturnType() public méthode

public GetReturnType ( XmlReader reader ) : Type
reader System.Xml.XmlReader
Résultat System.Type

GetReturnType() public méthode

public GetReturnType ( object obj ) : Type
obj object
Résultat System.Type

GetSerializer() public méthode

public GetSerializer ( XmlReader reader ) : TypeSerializer
reader System.Xml.XmlReader
Résultat TypeSerializer

GetSerializer() public méthode

public GetSerializer ( object obj ) : TypeSerializer
obj object
Résultat TypeSerializer

GetValue() public méthode

public GetValue ( object obj ) : object
obj object
Résultat object

HasApplicableAttribute() public méthode

public HasApplicableAttribute ( Type attributeType ) : bool
attributeType System.Type
Résultat bool

Scan() protected méthode

Prescans the type.
protected Scan ( SerializerOptions options, bool includeIfUnattributed ) : void
options SerializerOptions
includeIfUnattributed bool
Résultat void

SerializationMemberInfo() public méthode

public SerializationMemberInfo ( MemberInfo memberInfo, SerializerOptions options, TypeSerializerCache cache ) : System
memberInfo System.Reflection.MemberInfo
options SerializerOptions
cache TypeSerializerCache
Résultat System

SerializationMemberInfo() public méthode

public SerializationMemberInfo ( MemberInfo memberInfo, SerializerOptions options, TypeSerializerCache cache, bool includeIfUnattributed ) : System
memberInfo System.Reflection.MemberInfo
options SerializerOptions
cache TypeSerializerCache
includeIfUnattributed bool
Résultat System

SetValue() public méthode

public SetValue ( object obj, object val ) : void
obj object
val object
Résultat void

WalkApplicableAttributes() public méthode

public WalkApplicableAttributes ( bool includeTypeAttributes, bool includeAttributeSubclasses, Type types ) : System.Collections.Generic.IEnumerable
includeTypeAttributes bool
includeAttributeSubclasses bool
types System.Type
Résultat System.Collections.Generic.IEnumerable

Property Details

applicableMemberAttributes protected_oe property

protected XmlSerializationAttribute[],Platform.Xml.Serialization applicableMemberAttributes
Résultat Platform.Xml.Serialization.XmlSerializationAttribute[]

applicableTypeAttributes protected_oe property

protected XmlSerializationAttribute[],Platform.Xml.Serialization applicableTypeAttributes
Résultat Platform.Xml.Serialization.XmlSerializationAttribute[]

getterSetter protected_oe property

protected IGetterSetter getterSetter
Résultat IGetterSetter

memberInfo protected_oe property

protected MemberInfo,System.Reflection memberInfo
Résultat System.Reflection.MemberInfo

polymorphicTypeProvider protected_oe property

protected IXmlDynamicTypeProvider polymorphicTypeProvider
Résultat IXmlDynamicTypeProvider

returnType protected_oe property

protected Type,System returnType
Résultat System.Type

serializeAsCData protected_oe property

protected bool serializeAsCData
Résultat bool

serializeAsValueNodeAttributeName protected_oe property

protected string serializeAsValueNodeAttributeName
Résultat string

serializeIfNull protected_oe property

protected bool serializeIfNull
Résultat bool

serializedName protected_oe property

protected string serializedName
Résultat string

serializedNamespace protected_oe property

protected string serializedNamespace
Résultat string

serializedNodeType protected_oe property

protected XmlNodeType,System.Xml serializedNodeType
Résultat System.Xml.XmlNodeType

treatAsNullIfEmpty protected_oe property

protected bool treatAsNullIfEmpty
Résultat bool

typeSerializer protected_oe property

protected TypeSerializer,Platform.Xml.Serialization typeSerializer
Résultat TypeSerializer

typeSerializerCache protected_oe property

protected TypeSerializerCache typeSerializerCache
Résultat TypeSerializerCache