Class MapperCollection
Inheritance
System.Object
Assembly: cs.temp.dll.dll
Syntax
public class MapperCollection : BuilderCollectionBase<BaseMapper>, IMapperCollection
Constructors
MapperCollection(Func<IEnumerable<BaseMapper>>)
Declaration
public MapperCollection(Func<IEnumerable<BaseMapper>> items)
Parameters
Type |
Name |
Description |
System.Func<System.Collections.Generic.IEnumerable<BaseMapper>> |
items |
|
Properties
Item[Type]
Returns a mapper for this type, throw an exception if not found
Declaration
public BaseMapper this[Type type] { get; }
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Property Value
Methods
TryGetMapper(Type, out BaseMapper)
Declaration
public bool TryGetMapper(Type type, out BaseMapper mapper)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
BaseMapper |
mapper |
|
Returns
Type |
Description |
System.Boolean |
|