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