View Source
Class MapperCollection
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class MapperCollection : BuilderCollectionBase<BaseMapper>, IMapperCollection, IBuilderCollection<BaseMapper>
Constructors
View Source
MapperCollection(Func<IEnumerable<BaseMapper>>)
Declaration
public MapperCollection(Func<IEnumerable<BaseMapper>> items)
Parameters
Type |
Name |
Description |
Func<IEnumerable<BaseMapper>> |
items |
|
Properties
View Source
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 |
Type |
type |
|
Property Value
Methods
View Source
TryGetMapper(Type, out BaseMapper)
Declaration
public bool TryGetMapper(Type type, out BaseMapper mapper)
Parameters
Returns
Type |
Description |
System.Boolean |
|