AutoMapper
namespace AutoMapper
Auto map to this destination type from the specified source type. Discovered during scanning assembly scanning for configuration when calling
Constructors (1)
public void AutoMapAttribute()Properties (9)
Type
Description
SourceType
public · get;
Type
—
ReverseMap
public · get; set;
bool
—
ConstructUsingServiceLocator
public · get; set;
bool
If set to true, construct the destination object using the service locator.
MaxDepth
public · get; set;
int
For self-referential types, limit recurse depth.
PreserveReferences
public · get; set;
bool
If set to true, preserve object identity. Useful for circular references.
DisableCtorValidation
public · get; set;
bool
If set to true, disable constructor validation.
IncludeAllDerived
public · get; set;
bool
If set to true, include this configuration in all derived types' maps.
TypeConverter
public · get; set;
Type
Skip normal member mapping and convert using a instantiated during mapping.
AsProxy
public · get; set;
bool
If set to true, proxy will be created.
Methods (1)
public void ApplyConfiguration()