Converts a string to singular based on some simple rules.

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public static string ToSingular(
	string value,
	string pluralOverridesMapFile
)
Visual Basic
Public Shared Function ToSingular ( 
	value As String,
	pluralOverridesMapFile As String
) As String

Parameters

value
Type: System..::..String
The value to convert.
pluralOverridesMapFile
Type: System..::..String
The plural overrides map file.

Return Value

Type: String

See Also