Class AbpAutoMapperOptions
Inheritance
object
AbpAutoMapperOptions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AutoMapper
Assembly: Volo.Abp.AutoMapper.dll
Syntax
public class AbpAutoMapperOptions
Constructors
AbpAutoMapperOptions()
Declaration
public AbpAutoMapperOptions()
Properties
Configurators
Declaration
public List<Action<IAbpAutoMapperConfigurationContext>> Configurators { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<T><System.Action<T><IAbpAutoMapperConfigurationContext>> |
ValidatingProfiles
Declaration
public ITypeList<Profile> ValidatingProfiles { get; set; }
Property Value
| Type | Description |
|---|---|
| ITypeList<Profile> |
Methods
AddMaps<TModule>(bool)
Declaration
public void AddMaps<TModule>(bool validate = false)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | validate |
Type Parameters
| Name | Description |
|---|---|
| TModule |
AddProfile<TProfile>(bool)
Declaration
public void AddProfile<TProfile>(bool validate = false) where TProfile : Profile, new()
Parameters
| Type | Name | Description |
|---|---|---|
| bool | validate |
Type Parameters
| Name | Description |
|---|---|
| TProfile |
ValidateProfile(Type, bool)
Declaration
public void ValidateProfile(Type profileType, bool validate = true)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | profileType | |
| bool | validate |
ValidateProfile<TProfile>(bool)
Declaration
public void ValidateProfile<TProfile>(bool validate = true) where TProfile : Profile
Parameters
| Type | Name | Description |
|---|---|---|
| bool | validate |
Type Parameters
| Name | Description |
|---|---|
| TProfile |