C# Класс Composite.Core.Types.TypeManagerImpl

Наследование: ITypeManager
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AddCompiledType() публичный Метод

public AddCompiledType ( Type compiledType ) : void
compiledType System.Type
Результат void

GetType() публичный Метод

public GetType ( string fullName ) : Type
fullName string
Результат System.Type

HasTypeWithName() публичный Метод

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.
Результат bool

OnFlush() публичный Метод

public OnFlush ( ) : void
Результат void

SerializeType() публичный Метод

public SerializeType ( Type type ) : string
type System.Type
Результат string

TryGetType() публичный Метод

Returns the type with the provided fullName (or null).
public TryGetType ( string fullName ) : Type
fullName string
Результат System.Type

TrySerializeType() публичный Метод

public TrySerializeType ( Type type ) : string
type System.Type
Результат string