예제 #1
0
 /// <summary>
 /// Converts a uint to a specified enumeration <typeparamref name="T"/>
 /// </summary>
 /// <typeparam name="T">Enumeration Type</typeparam>
 /// <param name="value">value to convert</param>
 /// <returns><paramref name="value"/> as the enumeration type</returns>
 public static T FromUInt32 <T>(uint value) where T : struct, E
 => EnumCompiledCache <T> .FromUInt32(value);