C# 클래스 Simpl.Serialization.Types.TypeRegistry

Class to hold the mappings of different datatypes supported by the serialization framework. This objects returns the right abstraction for the supported types.
파일 보기 프로젝트 열기: ecologylab/simplCSharp 1 사용 예제들

공개 메소드들

메소드 설명
GetCollectionTypeBycSharpName ( String cSharpClassName ) : CollectionType

GetDefaultCollectionOrMapType ( System.Boolean isDictionary ) : CollectionType

Init ( ) : void

Initializes the TypeRegistry by adding all fundamental types to the Registry.

RegisterSimplType ( SimplType type ) : bool

Registers a given SimplType into one of the relevant type registries.

RegisterTypes ( SimplType simplTypes ) : bool

Registers an entire array of simplTypes

SetDefaultCollectionType ( CollectionType ct ) : void
SetDefaultMapType ( CollectionType ct ) : void

비공개 메소드들

메소드 설명
GetCollectionType ( FieldInfo thatField ) : CollectionType
TypeRegistry ( ) : System

Initializes the TypeRegistry

메소드 상세

GetCollectionTypeBycSharpName() 공개 정적인 메소드

public static GetCollectionTypeBycSharpName ( String cSharpClassName ) : CollectionType
cSharpClassName String
리턴 CollectionType

GetDefaultCollectionOrMapType() 공개 정적인 메소드

public static GetDefaultCollectionOrMapType ( System.Boolean isDictionary ) : CollectionType
isDictionary System.Boolean
리턴 CollectionType

Init() 공개 정적인 메소드

Initializes the TypeRegistry by adding all fundamental types to the Registry.
public static Init ( ) : void
리턴 void

RegisterSimplType() 공개 정적인 메소드

Registers a given SimplType into one of the relevant type registries.
public static RegisterSimplType ( SimplType type ) : bool
type SimplType Type to register
리턴 bool

RegisterTypes() 공개 정적인 메소드

Registers an entire array of simplTypes
public static RegisterTypes ( SimplType simplTypes ) : bool
simplTypes SimplType Simpl Types to register
리턴 bool

SetDefaultCollectionType() 공개 정적인 메소드

public static SetDefaultCollectionType ( CollectionType ct ) : void
ct CollectionType
리턴 void

SetDefaultMapType() 공개 정적인 메소드

public static SetDefaultMapType ( CollectionType ct ) : void
ct CollectionType
리턴 void