Class AbstractTwoWayEnumMapping<TSource, TDest>
Abstract class which extends AbstractEnumMapping<TSource, TDest>. It defines
methods and properties allowing to map values
of TSource
enum type
to/from TDest
enum type.
public abstract class AbstractTwoWayEnumMapping<TSource, TDest> : BaseObject, IBaseObject where TSource : struct, Enum where TDest : struct, Enum
Type Parameters
TSource
Type of source enum.
TDest
Type of destination enum.
- Inheritance
-
AbstractTwoWayEnumMapping<TSource, TDest>
- Implements
- Derived
Properties
- DestToSource
Destination to source mapping.
- SourceToDest
Source to destination mapping.
Methods
- Add(TSource, TDest)
Registers two-way mapping.
- Log()
Logs enum mappings to file.