Collection of static utility methods.
More...
|
static T | NextEnumValue< T > (T currentValue) |
| Returns the Next Value in an Enumeration, wrapping if it reaches the end.
|
|
static T | PreviousEnumValue< T > (T currentValue) |
| Returns the Previous Value in an Enumeration, wrapping if it reaches 0.
|
|
static IEnumerable< T > | GetValues< T > () |
| Get's all values for a specific enum type.
|
|
static T | GetRandomEnumValue< T > (T currentValue, int Seed) |
| Returns a random Value in an Enumeration.
|
|
static string | GetTextSpinner () |
|
Collection of static utility methods.
◆ GetRandomEnumValue< T >()
static T VerticesEngine.Utilities.vxUtil.GetRandomEnumValue< T > |
( |
T | currentValue, |
|
|
int | Seed ) |
|
static |
Returns a random Value in an Enumeration.
- Template Parameters
-
- Parameters
-
- Returns
◆ GetValues< T >()
static IEnumerable< T > VerticesEngine.Utilities.vxUtil.GetValues< T > |
( |
| ) |
|
|
static |
Get's all values for a specific enum type.
- Template Parameters
-
- Returns
◆ NextEnumValue< T >()
static T VerticesEngine.Utilities.vxUtil.NextEnumValue< T > |
( |
T | currentValue | ) |
|
|
static |
Returns the Next Value in an Enumeration, wrapping if it reaches the end.
- Template Parameters
-
- Parameters
-
- Returns
◆ PreviousEnumValue< T >()
static T VerticesEngine.Utilities.vxUtil.PreviousEnumValue< T > |
( |
T | currentValue | ) |
|
|
static |
Returns the Previous Value in an Enumeration, wrapping if it reaches 0.
- Template Parameters
-
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- /github/workspace/src/VerticesEngine/src.shared/Utilities/vxUtil.cs