Table of Contents

Method CreateEnumMapping

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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

maxValue T1

Maximal value of the source enum. Optional. If not specified, GetMaxValueUseLastAsInt<T>() is used.

Returns

AbstractEnumMapping<T1, T2>

Type Parameters

T1

Type of source enum.

T2

Type of destination enum.