C# Class ThisMember.Core.MapCollection

A simple helper class that allows you to easily manage multiple mappers that each have their purpose. For example, use this class if you have multiple mappers for update and create scenarios.
ファイルを表示 Open project: JulianR/ThisMember Class Usage Examples

Public Methods

Method Description
MapCollection ( ) : System
this ( string profile ) : IMemberMapper

Returns a mapper for a certain profile, and creates it if the mapper does not exist yet.

Private Methods

Method Description
CreateMapper ( string profile, IMemberMapper mapper ) : void

Method Details

MapCollection() public method

public MapCollection ( ) : System
return System

this() public method

Returns a mapper for a certain profile, and creates it if the mapper does not exist yet.
public this ( string profile ) : IMemberMapper
profile string The profile for which you want to have a mapper.
return IMemberMapper