Craig's Utility Library  4.0 Beta
Utilities.DataTypes.DataMapper.BaseClasses.DataMapperBase Class Referenceabstract

Data mapper base class More...

Inheritance diagram for Utilities.DataTypes.DataMapper.BaseClasses.DataMapperBase:
Utilities.DataTypes.DataMapper.Interfaces.IDataMapper Utilities.DataTypes.DataMapper.Default.DataMapper

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 >, ITypeMappingMappings [get]
 Mappings More...
 

Detailed Description

Data mapper base class

Definition at line 31 of file DataMapperBase.cs.

Constructor & Destructor Documentation

Utilities.DataTypes.DataMapper.BaseClasses.DataMapperBase.DataMapperBase ( )
protected

Constructor

Definition at line 36 of file DataMapperBase.cs.

Member Function Documentation

abstract ITypeMapping Utilities.DataTypes.DataMapper.BaseClasses.DataMapperBase.CreateTypeMapping ( Type  Left,
Type  Right 
)
protectedpure virtual

Used internally to create type mappings

Parameters
LeftLeft type
RightRight type
Returns
A mapping object for the two types specified

Implemented in Utilities.DataTypes.DataMapper.Default.DataMapper.

abstract ITypeMapping<Left, Right> Utilities.DataTypes.DataMapper.BaseClasses.DataMapperBase.CreateTypeMapping< Left, Right > ( )
protectedpure virtual

Used internally to create type mappings

Template Parameters
LeftLeft type
RightRight type
Returns
A mapping object for the two types specified

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

Parameters
LeftLeft type
RightRight type
Returns
A mapping object for the two types specified

Implements Utilities.DataTypes.DataMapper.Interfaces.IDataMapper.

Definition at line 72 of file DataMapperBase.cs.

Adds or returns a mapping between two types

Template Parameters
LeftLeft type
RightRight type
Returns
A mapping object for the two types specified

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

Returns
The name of the data mapper

Definition at line 85 of file DataMapperBase.cs.

Property Documentation

ConcurrentDictionary<Tuple<Type, Type>, ITypeMapping> Utilities.DataTypes.DataMapper.BaseClasses.DataMapperBase.Mappings
getprotected

Mappings

Definition at line 49 of file DataMapperBase.cs.

abstract string Utilities.DataTypes.DataMapper.BaseClasses.DataMapperBase.Name
get

The name of the data mapper

Definition at line 44 of file DataMapperBase.cs.


The documentation for this class was generated from the following file: