C# 클래스 Monobjc.Tools.Sdp.Generation.GenerationContext

파일 보기 프로젝트 열기: Monobjc/monobjc-tools 1 사용 예제들

공개 메소드들

메소드 설명
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