Class EnumExtensions
Extensions for enums
Inheritance
System.Object
EnumExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Dapplo.ActiveDirectory.Extensions
Assembly: Dapplo.ActiveDirectory.dll
Syntax
public static class EnumExtensions
Methods
| Improve this Doc View SourceEnumValueOf(Enum)
The returns the Value from the EnumMemberAttribute, or a ToString on the element. This can be used to create a lookup from string to enum element
Declaration
public static string EnumValueOf(this Enum enumerationItem)
Parameters
Type | Name | Description |
---|---|---|
System.Enum | enumerationItem | Enum |
Returns
Type | Description |
---|---|
System.String | string |