Determines if a string is in plural 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 IsPlural(
	string value,
	MapCollection pluralOverridesMap
)
Visual Basic
Public Shared Function IsPlural ( 
	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 plural

See Also