C# 클래스 Catel.Runtime.Serialization.Xml.DataContractSerializerFactory.XmlSerializerTypeInfo

Class containing serializer type info.
파일 보기 프로젝트 열기: Catel/Catel

공개 메소드들

메소드 설명
AddCollectionAsHandled ( Type type ) : void

Adds the collection type as handled.

AddKnownType ( Type type ) : bool

Adds the type to the list of known types.

AddTypeAsHandled ( Type type ) : void

Adds the type as handled.

ContainsKnownType ( Type type ) : bool

Determines whether the specified type is a known type.

IsCollectionAlreadyHandled ( Type type ) : bool

Determines whether the specified collection type is already handled.

IsSpecialCollectionType ( Type type ) : bool

Determines whether the specified type is a special .NET collection type which should be added to the serialization known types. All generic collections in the System.Collections.Generic namespace are considered special. Besides these classes, the ObservableCollection{T} is also considered special.

IsTypeAlreadyHandled ( Type type ) : bool

Determines whether the specified type is already handled, which doesn't mean that it is also a known type. It means that the type has already been inspected once.

IsTypeSerializable ( Type type ) : bool

Determines whether the specified type is serializable.

XmlSerializerTypeInfo ( Type serializingType, Type typeToSerialize, IEnumerable additionalKnownTypes = null ) : System

Initializes a new instance of the XmlSerializerTypeInfo class.

비공개 메소드들

메소드 설명
IsSpecificTypeSpecialCollection ( Type type ) : bool

메소드 상세

AddCollectionAsHandled() 공개 메소드

Adds the collection type as handled.
public AddCollectionAsHandled ( Type type ) : void
type System.Type The type.
리턴 void

AddKnownType() 공개 메소드

Adds the type to the list of known types.
public AddKnownType ( Type type ) : bool
type System.Type The type.
리턴 bool

AddTypeAsHandled() 공개 메소드

Adds the type as handled.
public AddTypeAsHandled ( Type type ) : void
type System.Type The type.
리턴 void

ContainsKnownType() 공개 메소드

Determines whether the specified type is a known type.
public ContainsKnownType ( Type type ) : bool
type System.Type The type.
리턴 bool

IsCollectionAlreadyHandled() 공개 메소드

Determines whether the specified collection type is already handled.
public IsCollectionAlreadyHandled ( Type type ) : bool
type System.Type The type.
리턴 bool

IsSpecialCollectionType() 공개 메소드

Determines whether the specified type is a special .NET collection type which should be added to the serialization known types. All generic collections in the System.Collections.Generic namespace are considered special. Besides these classes, the ObservableCollection{T} is also considered special.
The is null.
public IsSpecialCollectionType ( Type type ) : bool
type System.Type The type.
리턴 bool

IsTypeAlreadyHandled() 공개 메소드

Determines whether the specified type is already handled, which doesn't mean that it is also a known type. It means that the type has already been inspected once.
public IsTypeAlreadyHandled ( Type type ) : bool
type System.Type The type.
리턴 bool

IsTypeSerializable() 공개 메소드

Determines whether the specified type is serializable.
The is null.
public IsTypeSerializable ( Type type ) : bool
type System.Type The type.
리턴 bool

XmlSerializerTypeInfo() 공개 메소드

Initializes a new instance of the XmlSerializerTypeInfo class.
public XmlSerializerTypeInfo ( Type serializingType, Type typeToSerialize, IEnumerable additionalKnownTypes = null ) : System
serializingType System.Type Type of the serializing.
typeToSerialize System.Type The type to serialize.
additionalKnownTypes IEnumerable The additional known types.
리턴 System