Determines if a string is in singular form 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 bool IsSingular(
	string value,
	MapCollection pluralOverridesMap
)
Visual Basic
Public Shared Function IsSingular ( 
	value As String,
	pluralOverridesMap As MapCollection
) As Boolean

Parameters

value
Type: System..::..String
The value to check.
pluralOverridesMap
Type: CodeSmith.Engine..::..MapCollection
The plural overrides map.

Return Value

Type: Boolean
True, if the value is singular

See Also