C# Class Composite.Core.Types.TypeManagerImpl

Inheritance: ITypeManager
ファイルを表示 Open project: Orckestra/C1-CMS

Public Methods

Method Description
AddCompiledType ( Type compiledType ) : void
GetType ( string fullName ) : Type
HasTypeWithName ( string typeFullname ) : bool

This method return true if there is type with the fullname

typeFullname

anywhere in the system.

OnFlush ( ) : void
SerializeType ( Type type ) : string
TryGetType ( string fullName ) : Type

Returns the type with the provided fullName (or null).

TrySerializeType ( Type type ) : string

Private Methods

Method Description
GetConfiguration ( ) : IConfigurationSource
GetGenericType ( System.Xml.Linq.XElement element ) : Type
GetNonGenericType ( string fullName ) : Type
GetType ( string fullName, bool throwIfNotFound ) : Type
TrySerializeGenericType ( Type type ) : System.Xml.Linq.XElement
TrySerializeNonGenericType ( Type type ) : string

Method Details

AddCompiledType() public method

public AddCompiledType ( Type compiledType ) : void
compiledType System.Type
return void

GetType() public method

public GetType ( string fullName ) : Type
fullName string
return System.Type

HasTypeWithName() public method

This method return true if there is type with the fullname

typeFullname

anywhere in the system.
public HasTypeWithName ( string typeFullname ) : bool
typeFullname string Full name: namespace+name. X.Y.Z where X.Y is the namespace and Z is the type.
return bool

OnFlush() public method

public OnFlush ( ) : void
return void

SerializeType() public method

public SerializeType ( Type type ) : string
type System.Type
return string

TryGetType() public method

Returns the type with the provided fullName (or null).
public TryGetType ( string fullName ) : Type
fullName string
return System.Type

TrySerializeType() public method

public TrySerializeType ( Type type ) : string
type System.Type
return string