Class MapperModel
The complete, frozen configuration: global options plus every type map. This is what the compiler turns into executable plans, and what diagnostics report on.
public sealed class MapperModel
- Inheritance
-
MapperModel
- Inherited Members
Constructors
- MapperModel(MapperOptions, IEnumerable<TypeMapDefinition>)
Creates a model from global options and a set of type maps.
Properties
- Count
Gets the number of configured type maps.
- Options
Gets the global options.
- TypeMaps
Gets every type map, in declaration order.
Methods
- Contains(TypeMapKey)
Determines whether a map is configured for a type pair.
- TryGetTypeMap(TypeMapKey, out TypeMapDefinition?)
Looks up the map for a type pair.
- TryGetTypeMap(Type, Type, out TypeMapDefinition?)
Looks up the map for a type pair.