Method CreateEnumMapping
CreateEnumMapping<T1, T2>(T1)
Creates enum mapping object.
protected virtual AbstractEnumMapping<T1, T2> CreateEnumMapping<T1, T2>(T1 maxValue) where T1 : struct, Enum where T2 : struct, Enum
Parameters
maxValueT1Maximal value of the source enum. Optional. If not specified, GetMaxValueUseLastAsInt<T>() is used.
Returns
- AbstractEnumMapping<T1, T2>
Type Parameters
T1Type of source enum.
T2Type of destination enum.