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

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

Public Methods

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

Method Details

FourCharToInt() public static method

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

GenerateDotNetMethodsName() public static method

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

GenerateDotNetName() public static method

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

GenerateObjCName() public static method

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

GenerateObjCSelector() public static method

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

ToUInt32() public static method

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