Method GetMaxValueUseLastOrDefault
GetMaxValueUseLastOrDefault<T>(T?)
Returns maxValue
if it's specified; otherwise uses
GetMaxValueUseLastAsInt<T>() in order to obtain the result.
public static int GetMaxValueUseLastOrDefault<T>(T? maxValue) where T : struct, Enum
Parameters
maxValue
T?Max value in the enum.
Returns
Type Parameters
T
Type of the enum.