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

Afficher le fichier Open project: Monobjc/monobjc-tools Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

GenerateDotNetMethodsName() public static méthode

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

GenerateDotNetName() public static méthode

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

GenerateObjCName() public static méthode

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

GenerateObjCSelector() public static méthode

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.
Résultat String

ToUInt32() public static méthode

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