Class GenericUtils
Utils for generics or types operations.
Inheritance
System.Object
GenericUtils
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LLBML.Utils
Assembly: LLBModdingLib.dll
Syntax
public static class GenericUtils
Methods
GetEnumValues<T>()
Gets enum values from the type via reflection.
Declaration
public static IEnumerable<T> GetEnumValues<T>()
where T : new()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<T> | The enum values. |
Type Parameters
| Name | Description |
|---|---|
| T | The targeted enum type. |