Class TwoWayEnumMapping<TSource, TDest>
Defines methods allowing to map values
of TSource enum type
to/from TDest enum type.
public class TwoWayEnumMapping<TSource, TDest> : AbstractTwoWayEnumMapping<TSource, TDest>, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, IDisposableObject, IDisposable, IBaseObject where TSource : struct, Enum where TDest : struct, EnumType Parameters
- TSource
- Type of source enum. 
- TDest
- Type of destination enum. 
- Inheritance
- 
      
      
      
      
      
      
      AbstractTwoWayEnumMapping<TSource, TDest>TwoWayEnumMapping<TSource, TDest>
- Implements
- Derived
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.