Converts a string to singular based on some simple rules.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public static string ToSingular( string value, MapCollection pluralOverridesMap ) |
Visual Basic |
---|
Public Shared Function ToSingular ( value As String, pluralOverridesMap As MapCollection ) As String |
Parameters
- value
- Type: System..::..String
The value to convert.
- pluralOverridesMap
- Type: CodeSmith.Engine..::..MapCollection
The plural overrides map.