C# Класс Monobjc.Tools.Generator.Utilities.TypeManager

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ConvertName ( string name ) : string

Converts the name.

ConvertType ( String type, TextWriter logger ) : String

Converts the type.

ConvertType ( String type, bool &isOut, bool &isByRef, bool &isBlock, TextWriter logger ) : String

Converts the type.

HasClass ( string value ) : bool

Determines whether the specified instance contains this class.

SetClasses ( IEnumerable values ) : void

Sets the classes.

SetMappings ( String file ) : void

Sets the mappings.

SetMixedTypes ( String>.IDictionary values ) : void

Sets the mixed types.

Защищенные методы

Метод Описание
GetRealType ( String type, bool is64Bits ) : String

Gets the real type of the given type.

IsMixedType ( String type ) : bool

Determines whether the specified type is a mixed type.

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

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

Converts the name.
public ConvertName ( string name ) : string
name string The name.
Результат string

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

Converts the type.
public ConvertType ( String type, TextWriter logger ) : String
type String The type.
logger System.IO.TextWriter
Результат String

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

Converts the type.
public ConvertType ( String type, bool &isOut, bool &isByRef, bool &isBlock, TextWriter logger ) : String
type String The type.
isOut bool if set to true [is out].
isByRef bool if set to true [is by ref].
isBlock bool if set to true [is block].
logger System.IO.TextWriter
Результат String

GetRealType() защищенный Метод

Gets the real type of the given type.
protected GetRealType ( String type, bool is64Bits ) : String
type String The type.
is64Bits bool if set to true, return the 64 bits real type.
Результат String

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

Determines whether the specified instance contains this class.
public HasClass ( string value ) : bool
value string
Результат bool

IsMixedType() защищенный Метод

Determines whether the specified type is a mixed type.
protected IsMixedType ( String type ) : bool
type String The type.
Результат bool

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

Sets the classes.
public SetClasses ( IEnumerable values ) : void
values IEnumerable
Результат void

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

Sets the mappings.
public SetMappings ( String file ) : void
file String The file.
Результат void

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

Sets the mixed types.
public SetMixedTypes ( String>.IDictionary values ) : void
values String>.IDictionary
Результат void