C# Class Monobjc.Tools.Sdp.Generation.GenerationContext

Exibir arquivo Open project: Monobjc/monobjc-tools Class Usage Examples

Public Methods

Method Description
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

Method Details

ConvertParameterName() public static method

Converts the name of the parameter.
public static ConvertParameterName ( String name ) : String
name String
return String

ConvertType() public method

Converts the type.
public ConvertType ( String type, bool anyType ) : String
type String
anyType bool
return String

GenerationContext() public method

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.
return System

GetClassExtensionFor() public method

Gets the class extension for the given class.
public GetClassExtensionFor ( @class cls ) : IEnumerable
cls Monobjc.Tools.Sdp.Model.@class
return IEnumerable

GetCommandsFor() public method

Gets the commands for the given class.
public GetCommandsFor ( @class cls ) : IEnumerable
cls Monobjc.Tools.Sdp.Model.@class
return IEnumerable

GetElementsFor() public method

Gets the elements for the given class.
public GetElementsFor ( @class cls ) : IEnumerable
cls Monobjc.Tools.Sdp.Model.@class
return IEnumerable

GetPropertiesFor() public method

Gets the properties for the given class.
public GetPropertiesFor ( @class cls ) : IEnumerable
cls Monobjc.Tools.Sdp.Model.@class
return IEnumerable

GetType() public static method

Gets the type.
public static GetType ( directparameter parameter ) : String
parameter Monobjc.Tools.Sdp.Model.directparameter
return String

GetType() public static method

Gets the type.
public static GetType ( parameter parameter ) : String
parameter Monobjc.Tools.Sdp.Model.parameter
return String

GetType() public static method

Gets the type.
public static GetType ( result result ) : String
result Monobjc.Tools.Sdp.Model.result
return String

IsApplicationClass() public static method

Determines whether the specified class is the application class.
public static IsApplicationClass ( @class cls ) : bool
cls Monobjc.Tools.Sdp.Model.@class The CLS.
return bool

Merge() public method

public Merge ( ) : void
return void