/
.NET
AU

AutoMapper

16.1.1

by automapper.io

Namespaces & Types

AutoMapper

CLS

AutoMapAttribute

namespace AutoMapper

public classsealed
Attribute→AutoMapAttribute

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()
AutoMapAttribute.cs
1namespace AutoMapper
2{
3public sealed class AutoMapAttribute
4: Attribute
5{
6public Type SourceType { get; }
7public bool ReverseMap { get; set; }
...// 1 methods
}

Package Metadata

Version

16.1.1

types

139

License

MIT

Source

---

Other types in namespace

clsAutoMapperConfigurationException
clsAutoMapperMappingException
clsConstructorMap
clsConstructorParameterMap
strContextCacheKey
clsDuplicateTypeMapConfigurationException
clsExactMatchNamingConvention
intIConfigurationProvider
AutoMapper · 16.1.1
AugustoDeveloper
139 types · 11 namespaces