Class EnumExtensions
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: GenerallyPositive.Browser
Assembly: GPAL.dll
Syntax
public static class EnumExtensions
Methods
GetAttributeOfType<TAttribute>(Enum)
Declaration
public static TAttribute GetAttributeOfType<TAttribute>(this Enum enumVal)
where TAttribute : Attribute
Parameters
| Type | Name | Description |
|---|---|---|
| System.Enum | enumVal |
Returns
| Type | Description |
|---|---|
| TAttribute |
Type Parameters
| Name | Description |
|---|---|
| TAttribute |