C# Class YAMP.ConventionExtensions

Contains some extensions used to tackle some conventions used in the code.
Exibir arquivo Open project: FlorianRappl/YAMP

Public Methods

Method Description
IsArgumentFunction ( this functionName ) : System.Boolean

Detects if the given function name belongs to an argument function.

RemoveExpressionConvention ( this expressionName ) : String

Removes the expression convention from a string.

RemoveFunctionConvention ( this functionName ) : String

Removes the function convention from a string.

RemoveOperatorConvention ( this operatorName ) : String

Removes the operator convention from a string.

RemoveValueConvention ( this valueName ) : String

Removes the value convention from a string.

Method Details

IsArgumentFunction() public static method

Detects if the given function name belongs to an argument function.
public static IsArgumentFunction ( this functionName ) : System.Boolean
functionName this The given function name.
return System.Boolean

RemoveExpressionConvention() public static method

Removes the expression convention from a string.
public static RemoveExpressionConvention ( this expressionName ) : String
expressionName this
return String

RemoveFunctionConvention() public static method

Removes the function convention from a string.
public static RemoveFunctionConvention ( this functionName ) : String
functionName this
return String

RemoveOperatorConvention() public static method

Removes the operator convention from a string.
public static RemoveOperatorConvention ( this operatorName ) : String
operatorName this
return String

RemoveValueConvention() public static method

Removes the value convention from a string.
public static RemoveValueConvention ( this valueName ) : String
valueName this
return String