EnumUtils.GetEnumValues method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Enums
Assembly Skybrud.Essentials.dll

GetEnumValues<T>()

Static

Gets an array of all values of the specified enum class T.

public static T[] GetEnumValues<T>()

Type Parameters

T

The type of the enum class.

Returns

Array of T

An array of T.

GetEnumValues(Type)

Static

Gets an array of all values of the specified enum type.

public static Enum[] GetEnumValues(Type type)

Parameters

type Type

The type of the enum class.

Returns

Array of Enum

An array of Enum .