Class AbpAutoMapperExtensibleDtoExtensions
Inheritance
object
AbpAutoMapperExtensibleDtoExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: AutoMapper
Assembly: Volo.Abp.AutoMapper.dll
Syntax
public static class AbpAutoMapperExtensibleDtoExtensions
Methods
IgnoreExtraProperties<TSource, TDestination>(IMappingExpression<TSource, TDestination>)
Declaration
public static IMappingExpression<TSource, TDestination> IgnoreExtraProperties<TSource, TDestination>(this IMappingExpression<TSource, TDestination> mappingExpression) where TSource : IHasExtraProperties where TDestination : IHasExtraProperties
Parameters
| Type | Name | Description |
|---|---|---|
| AutoMapper.IMappingExpression<,><TSource, TDestination> | mappingExpression |
Returns
| Type | Description |
|---|---|
| AutoMapper.IMappingExpression<,><TSource, TDestination> |
Type Parameters
| Name | Description |
|---|---|
| TSource | |
| TDestination |
MapExtraProperties<TSource, TDestination>(IMappingExpression<TSource, TDestination>, MappingPropertyDefinitionChecks?, string[], bool)
Declaration
public static IMappingExpression<TSource, TDestination> MapExtraProperties<TSource, TDestination>(this IMappingExpression<TSource, TDestination> mappingExpression, MappingPropertyDefinitionChecks? definitionChecks = null, string[] ignoredProperties = null, bool mapToRegularProperties = false) where TSource : IHasExtraProperties where TDestination : IHasExtraProperties
Parameters
| Type | Name | Description |
|---|---|---|
| AutoMapper.IMappingExpression<,><TSource, TDestination> | mappingExpression | |
| MappingPropertyDefinitionChecks? | definitionChecks | |
| string[] | ignoredProperties | |
| bool | mapToRegularProperties |
Returns
| Type | Description |
|---|---|
| AutoMapper.IMappingExpression<,><TSource, TDestination> |
Type Parameters
| Name | Description |
|---|---|
| TSource | |
| TDestination |