Craig's Utility Library
4.0 Beta
|
Data mapper base class More...
Public Member Functions | |
ITypeMapping< Left, Right > | Map< Left, Right > () |
Adds or returns a mapping between two types More... | |
ITypeMapping | Map (Type Left, Type Right) |
Adds or returns a mapping between two types More... | |
override string | ToString () |
The name of the data mapper More... | |
Protected Member Functions | |
DataMapperBase () | |
Constructor More... | |
abstract ITypeMapping< Left, Right > | CreateTypeMapping< Left, Right > () |
Used internally to create type mappings More... | |
abstract ITypeMapping | CreateTypeMapping (Type Left, Type Right) |
Used internally to create type mappings More... | |
Properties | |
abstract string | Name [get] |
The name of the data mapper More... | |
ConcurrentDictionary< Tuple< Type, Type >, ITypeMapping > | Mappings [get] |
Mappings More... | |
Data mapper base class
Definition at line 31 of file DataMapperBase.cs.
|
protected |
Constructor
Definition at line 36 of file DataMapperBase.cs.
|
protectedpure virtual |
Used internally to create type mappings
Left | Left type |
Right | Right type |
Implemented in Utilities.DataTypes.DataMapper.Default.DataMapper.
|
protectedpure virtual |
Used internally to create type mappings
Left | Left type |
Right | Right type |
Implemented in Utilities.DataTypes.DataMapper.Default.DataMapper.
ITypeMapping Utilities.DataTypes.DataMapper.BaseClasses.DataMapperBase.Map | ( | Type | Left, |
Type | Right | ||
) |
Adds or returns a mapping between two types
Left | Left type |
Right | Right type |
Implements Utilities.DataTypes.DataMapper.Interfaces.IDataMapper.
Definition at line 72 of file DataMapperBase.cs.
ITypeMapping<Left, Right> Utilities.DataTypes.DataMapper.BaseClasses.DataMapperBase.Map< Left, Right > | ( | ) |
Adds or returns a mapping between two types
Left | Left type |
Right | Right type |
Implements Utilities.DataTypes.DataMapper.Interfaces.IDataMapper.
Definition at line 57 of file DataMapperBase.cs.
override string Utilities.DataTypes.DataMapper.BaseClasses.DataMapperBase.ToString | ( | ) |
The name of the data mapper
Definition at line 85 of file DataMapperBase.cs.
|
getprotected |
Mappings
Definition at line 49 of file DataMapperBase.cs.
|
get |
The name of the data mapper
Definition at line 44 of file DataMapperBase.cs.