C# Class Catel.Runtime.Serialization.MemberValue

Afficher le fichier Open project: Catel/Catel Class Usage Examples

Méthodes publiques

Méthode Description
GetBestMemberType ( ) : Type

Gets the the best member type. Code is equal to memberValue.ActualMemberType ?? memberValue.MemberType.

MemberValue ( SerializationMemberGroup memberGroup, Type modelType, Type memberType, string name, string nameForSerialization, object value ) : Catel.Reflection

Initializes a new instance of the MemberValue class.

Method Details

GetBestMemberType() public méthode

Gets the the best member type. Code is equal to memberValue.ActualMemberType ?? memberValue.MemberType.
public GetBestMemberType ( ) : Type
Résultat System.Type

MemberValue() public méthode

Initializes a new instance of the MemberValue class.
public MemberValue ( SerializationMemberGroup memberGroup, Type modelType, Type memberType, string name, string nameForSerialization, object value ) : Catel.Reflection
memberGroup SerializationMemberGroup Group of the member.
modelType System.Type Type of the model.
memberType System.Type Type of the member.
name string The name.
nameForSerialization string The name for serialization.
value object The value.
Résultat Catel.Reflection