/// <summary> /// Converts a short 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 FromInt16 <T>(short value) where T : struct, E => EnumCompiledCache <T> .FromInt16(value);