C# Класс Monobjc.Tools.Sdp.Generation.GenerationContext

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

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

Метод Описание
ConvertParameterName ( String name ) : String

Converts the name of the parameter.

ConvertType ( String type, bool anyType ) : String

Converts the type.

GenerationContext ( String prefix, IEnumerable<@class> classes, IEnumerable classExtensions, IEnumerable commands, IEnumerable enumerations ) : System

Initializes a new instance of the GenerationContext class.

GetClassExtensionFor ( @class cls ) : IEnumerable

Gets the class extension for the given class.

GetCommandsFor ( @class cls ) : IEnumerable

Gets the commands for the given class.

GetElementsFor ( @class cls ) : IEnumerable

Gets the elements for the given class.

GetPropertiesFor ( @class cls ) : IEnumerable

Gets the properties for the given class.

GetType ( directparameter parameter ) : String

Gets the type.

GetType ( parameter parameter ) : String

Gets the type.

GetType ( result result ) : String

Gets the type.

IsApplicationClass ( @class cls ) : bool

Determines whether the specified class is the application class.

Merge ( ) : void

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

ConvertParameterName() публичный статический Метод

Converts the name of the parameter.
public static ConvertParameterName ( String name ) : String
name String
Результат String

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

Converts the type.
public ConvertType ( String type, bool anyType ) : String
type String
anyType bool
Результат String

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

Initializes a new instance of the GenerationContext class.
public GenerationContext ( String prefix, IEnumerable<@class> classes, IEnumerable classExtensions, IEnumerable commands, IEnumerable enumerations ) : System
prefix String The prefix.
classes IEnumerable<@class> The classes.
classExtensions IEnumerable The class extensions.
commands IEnumerable The commands.
enumerations IEnumerable The enumerations.
Результат System

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

Gets the class extension for the given class.
public GetClassExtensionFor ( @class cls ) : IEnumerable
cls Monobjc.Tools.Sdp.Model.@class
Результат IEnumerable

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

Gets the commands for the given class.
public GetCommandsFor ( @class cls ) : IEnumerable
cls Monobjc.Tools.Sdp.Model.@class
Результат IEnumerable

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

Gets the elements for the given class.
public GetElementsFor ( @class cls ) : IEnumerable
cls Monobjc.Tools.Sdp.Model.@class
Результат IEnumerable

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

Gets the properties for the given class.
public GetPropertiesFor ( @class cls ) : IEnumerable
cls Monobjc.Tools.Sdp.Model.@class
Результат IEnumerable

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

Gets the type.
public static GetType ( directparameter parameter ) : String
parameter Monobjc.Tools.Sdp.Model.directparameter
Результат String

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

Gets the type.
public static GetType ( parameter parameter ) : String
parameter Monobjc.Tools.Sdp.Model.parameter
Результат String

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

Gets the type.
public static GetType ( result result ) : String
result Monobjc.Tools.Sdp.Model.result
Результат String

IsApplicationClass() публичный статический Метод

Determines whether the specified class is the application class.
public static IsApplicationClass ( @class cls ) : bool
cls Monobjc.Tools.Sdp.Model.@class The CLS.
Результат bool

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

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