C# Class Catel.Runtime.Serialization.MemberValue

Mostra file Open project: Catel/Catel Class Usage Examples

Public Methods

Method 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 method

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

MemberValue() public method

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.
return Catel.Reflection