Table of Contents

Class TwoWayEnumMapping<TSource, TDest>

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

Defines methods allowing to map values of TSource enum type to/from TDest enum type.

public class TwoWayEnumMapping<TSource, TDest> : AbstractTwoWayEnumMapping<TSource, TDest>, IBaseObject where TSource : struct, Enum where TDest : struct, Enum

Type Parameters

TSource

Type of source enum.

TDest

Type of destination enum.

Inheritance
TwoWayEnumMapping<TSource, TDest>
Implements

Constructors

TwoWayEnumMapping(TSource, TDest)

Initializes a new instance of the TwoWayEnumMapping<TSource, TDest> class.

Properties

DestToSource

Destination to source mapping.

SourceToDest

Source to destination mapping.

Methods

CreateEnumMapping<T1, T2>(T1)

Creates enum mapping object.