EnumExtensions..::..HasDescription Method (Enum, String, StringComparison)

Determines whether the specified expected description has description.

Namespace:  Core
Assembly:  Core (in Core.dll)

Syntax


public static bool HasDescription(
	Enum soure,
	string expectedDescription,
	StringComparison comparisionType
)

Parameters

soure
Type: Enum
The soure.
expectedDescription
Type: String
The expected description.
comparisionType
Type: StringComparison
Type of the comparision.

Return Value

true if the specified expected description has description; otherwise, false.