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

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

공개 메소드들

메소드 설명
FourCharToInt ( String fourCharValue ) : uint

Converts a four-char value to an unsigned integer.

GenerateDotNetMethodsName ( command command ) : String

Generates the name of the DotNet method name.

GenerateDotNetName ( String prefix, String value ) : String

Generates a valid DotNet name.

GenerateObjCName ( String value ) : String

Generates a valid Objective-C name.

GenerateObjCSelector ( command command, bool isApplication ) : String

Generates a valid Objective-C selector.

ToUInt32 ( String enumValue ) : uint

Converts a enumeration value to an integer.

메소드 상세

FourCharToInt() 공개 정적인 메소드

Converts a four-char value to an unsigned integer.
public static FourCharToInt ( String fourCharValue ) : uint
fourCharValue String The four char value.
리턴 uint

GenerateDotNetMethodsName() 공개 정적인 메소드

Generates the name of the DotNet method name.
public static GenerateDotNetMethodsName ( command command ) : String
command Monobjc.Tools.Sdp.Model.command The command.
리턴 String

GenerateDotNetName() 공개 정적인 메소드

Generates a valid DotNet name.
public static GenerateDotNetName ( String prefix, String value ) : String
prefix String The prefix.
value String The value.
리턴 String

GenerateObjCName() 공개 정적인 메소드

Generates a valid Objective-C name.
public static GenerateObjCName ( String value ) : String
value String The value.
리턴 String

GenerateObjCSelector() 공개 정적인 메소드

Generates a valid Objective-C selector.
public static GenerateObjCSelector ( command command, bool isApplication ) : String
command Monobjc.Tools.Sdp.Model.command The command.
isApplication bool if set to true, then the command is for an application class.
리턴 String

ToUInt32() 공개 정적인 메소드

Converts a enumeration value to an integer.
public static ToUInt32 ( String enumValue ) : uint
enumValue String The enum value.
리턴 uint