EnumUtils.FromInt32 method

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

FromInt32<T>(int)

Static

Converts the specified input value to a anum of type T.

public static T FromInt32<T>(int input)

Type Parameters

T

The enum type.

Parameters

input int

The input value to be converted.

Returns

T

An instance of T.