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

Determines whether the specified expected description has description.

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

Syntax


public static bool HasDescription(
	Enum soure,
	string expectedDescription
)

Parameters

soure
Type: Enum
The soure.
expectedDescription
Type: String
The expected description.

Return Value

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