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, EnumParameters
- maxValueT?
- Max value in the enum. 
Returns
Type Parameters
- T
- Type of the enum.