C# 클래스 Catel.Runtime.Serialization.SerializerModifierBase

Allows modifications for a specific model for every supported serializer.
상속: ISerializerModifier
파일 보기 프로젝트 열기: Catel/Catel

공개 메소드들

메소드 설명
DeserializeMember ( ISerializationContext context, MemberValue memberValue ) : void

Allows the customization of the provided MemberValue.

OnDeserialized ( ISerializationContext context, object model ) : void

Called when the object is deserialized.

OnDeserializing ( ISerializationContext context, object model ) : void

Called when the object is about to be deserialized.

OnSerialized ( ISerializationContext context, object model ) : void

Called when the object is serialized.

OnSerializing ( ISerializationContext context, object model ) : void

Called when the object is about to be serialized.

SerializeMember ( ISerializationContext context, MemberValue memberValue ) : void

Allows the customization of the provided MemberValue.

ShouldIgnoreMember ( ISerializationContext context, object model, MemberValue memberValue ) : bool

Determines whether the specified member should be ignored.

ShouldSerializeAsCollection ( ) : bool?

Returns whether the serializer should serialize this model as a collection.

ShouldSerializeAsDictionary ( ) : bool?

Returns whether the serializer should serialize this model as a dictionary.

ShouldSerializeMemberUsingParse ( MemberValue memberValue ) : bool?

Returns whether the serializer should serialize the member using ToString(IFormatProvider) and Parse(string, IFormatProvider).

메소드 상세

DeserializeMember() 공개 메소드

Allows the customization of the provided MemberValue.
public DeserializeMember ( ISerializationContext context, MemberValue memberValue ) : void
context ISerializationContext The context.
memberValue MemberValue The member value.
리턴 void

OnDeserialized() 공개 메소드

Called when the object is deserialized.
public OnDeserialized ( ISerializationContext context, object model ) : void
context ISerializationContext The context.
model object The model.
리턴 void

OnDeserializing() 공개 메소드

Called when the object is about to be deserialized.
public OnDeserializing ( ISerializationContext context, object model ) : void
context ISerializationContext The context.
model object The model.
리턴 void

OnSerialized() 공개 메소드

Called when the object is serialized.
public OnSerialized ( ISerializationContext context, object model ) : void
context ISerializationContext The context.
model object The model.
리턴 void

OnSerializing() 공개 메소드

Called when the object is about to be serialized.
public OnSerializing ( ISerializationContext context, object model ) : void
context ISerializationContext The context.
model object The model.
리턴 void

SerializeMember() 공개 메소드

Allows the customization of the provided MemberValue.
public SerializeMember ( ISerializationContext context, MemberValue memberValue ) : void
context ISerializationContext The context.
memberValue MemberValue The member value.
리턴 void

ShouldIgnoreMember() 공개 메소드

Determines whether the specified member should be ignored.
public ShouldIgnoreMember ( ISerializationContext context, object model, MemberValue memberValue ) : bool
context ISerializationContext The context.
model object The model.
memberValue MemberValue The member value.
리턴 bool

ShouldSerializeAsCollection() 공개 메소드

Returns whether the serializer should serialize this model as a collection.
public ShouldSerializeAsCollection ( ) : bool?
리턴 bool?

ShouldSerializeAsDictionary() 공개 메소드

Returns whether the serializer should serialize this model as a dictionary.
public ShouldSerializeAsDictionary ( ) : bool?
리턴 bool?

ShouldSerializeMemberUsingParse() 공개 메소드

Returns whether the serializer should serialize the member using ToString(IFormatProvider) and Parse(string, IFormatProvider).
public ShouldSerializeMemberUsingParse ( MemberValue memberValue ) : bool?
memberValue MemberValue
리턴 bool?