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

Manager which is responsible for discovering what fields and properties of an object should be serialized.
상속: ISerializationManager
파일 보기 프로젝트 열기: Catel/Catel 1 사용 예제들

공개 메소드들

메소드 설명
AddSerializerModifier ( Type type, Type serializerModifierType ) : void

Adds the serializer modifier for a specific type.

Clear ( Type type ) : void

Clears the specified type from cache so it will be evaluated.

GetCatelProperties ( Type type, bool includeModelBaseProperties = false ) : MemberMetadata>.Dictionary

Gets the catel properties.

GetCatelPropertiesToSerialize ( Type type ) : MemberMetadata>.Dictionary

Gets the catel properties to serialize.

GetCatelPropertyNames ( Type type, bool includeModelBaseProperties = false ) : HashSet

Gets the catel property names.

GetFieldNames ( Type type ) : HashSet

Gets the field names.

GetFields ( Type type ) : MemberMetadata>.Dictionary

Gets the fields

GetFieldsToSerialize ( Type type ) : MemberMetadata>.Dictionary

Gets the fields to serialize for the specified object.

GetRegularProperties ( Type type ) : MemberMetadata>.Dictionary

Gets the regular properties.

GetRegularPropertiesToSerialize ( Type type ) : MemberMetadata>.Dictionary

Gets the properties to serialize for the specified object.

GetRegularPropertyNames ( Type type ) : HashSet

Gets the regular property names.

GetSerializerModifiers ( Type type ) : ISerializerModifier[]

Gets the serializer modifiers for the specified type. Note that the order is important because the modifiers will be called in the returned order during serialization and in reversed order during deserialization.

RemoveSerializerModifier ( Type type, Type serializerModifierType ) : void

Removes the serializer modifier for a specific type.

Warmup ( Type type ) : void

Warmups the specified type by calling all the methods for the specified type.

보호된 메소드들

메소드 설명
FindSerializerModifiers ( Type type ) : List

Finds the serializer modifiers.

비공개 메소드들

메소드 설명
GetCacheKey ( Type type, bool additionalValue ) : string
GetNameOverrideForSerialization ( MemberInfo memberInfo ) : string

메소드 상세

AddSerializerModifier() 공개 메소드

Adds the serializer modifier for a specific type.
The is null. The is null.
public AddSerializerModifier ( Type type, Type serializerModifierType ) : void
type System.Type The type.
serializerModifierType System.Type Type of the serializer modifier.
리턴 void

Clear() 공개 메소드

Clears the specified type from cache so it will be evaluated.
The is null.
public Clear ( Type type ) : void
type System.Type The type.
리턴 void

FindSerializerModifiers() 보호된 메소드

Finds the serializer modifiers.
protected FindSerializerModifiers ( Type type ) : List
type System.Type The type.
리턴 List

GetCatelProperties() 공개 메소드

Gets the catel properties.
The is null.
public GetCatelProperties ( Type type, bool includeModelBaseProperties = false ) : MemberMetadata>.Dictionary
type System.Type Type of the model.
includeModelBaseProperties bool if set to true, also include model base properties.
리턴 MemberMetadata>.Dictionary

GetCatelPropertiesToSerialize() 공개 메소드

Gets the catel properties to serialize.
The is null.
public GetCatelPropertiesToSerialize ( Type type ) : MemberMetadata>.Dictionary
type System.Type The type.
리턴 MemberMetadata>.Dictionary

GetCatelPropertyNames() 공개 메소드

Gets the catel property names.
The is null.
public GetCatelPropertyNames ( Type type, bool includeModelBaseProperties = false ) : HashSet
type System.Type Type of the model.
includeModelBaseProperties bool if set to true, also include model base properties.
리턴 HashSet

GetFieldNames() 공개 메소드

Gets the field names.
The is null.
public GetFieldNames ( Type type ) : HashSet
type System.Type Type of the model.
리턴 HashSet

GetFields() 공개 메소드

Gets the fields
The is null.
public GetFields ( Type type ) : MemberMetadata>.Dictionary
type System.Type Type of the model.
리턴 MemberMetadata>.Dictionary

GetFieldsToSerialize() 공개 메소드

Gets the fields to serialize for the specified object.
The is null.
public GetFieldsToSerialize ( Type type ) : MemberMetadata>.Dictionary
type System.Type The type.
리턴 MemberMetadata>.Dictionary

GetRegularProperties() 공개 메소드

Gets the regular properties.
The is null.
public GetRegularProperties ( Type type ) : MemberMetadata>.Dictionary
type System.Type Type of the model.
리턴 MemberMetadata>.Dictionary

GetRegularPropertiesToSerialize() 공개 메소드

Gets the properties to serialize for the specified object.
The is null.
public GetRegularPropertiesToSerialize ( Type type ) : MemberMetadata>.Dictionary
type System.Type The type.
리턴 MemberMetadata>.Dictionary

GetRegularPropertyNames() 공개 메소드

Gets the regular property names.
The is null.
public GetRegularPropertyNames ( Type type ) : HashSet
type System.Type Type of the model.
리턴 HashSet

GetSerializerModifiers() 공개 메소드

Gets the serializer modifiers for the specified type. Note that the order is important because the modifiers will be called in the returned order during serialization and in reversed order during deserialization.
The is null.
public GetSerializerModifiers ( Type type ) : ISerializerModifier[]
type System.Type The type.
리턴 ISerializerModifier[]

RemoveSerializerModifier() 공개 메소드

Removes the serializer modifier for a specific type.
The is null. The is null.
public RemoveSerializerModifier ( Type type, Type serializerModifierType ) : void
type System.Type The type.
serializerModifierType System.Type Type of the serializer modifier.
리턴 void

Warmup() 공개 메소드

Warmups the specified type by calling all the methods for the specified type.
The is null.
public Warmup ( Type type ) : void
type System.Type The type.
리턴 void