EnumExtensions..::..HasDescription Method (Enum, String, StringComparison)
Determines whether the specified expected description has description.
Namespace:
CoreAssembly: 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.