Show / Hide Table of Contents

Class ExtensibleObjectMapper

Inheritance
object
ExtensibleObjectMapper
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.ObjectExtending
Assembly: Volo.Abp.ObjectExtending.dll
Syntax
public static class ExtensibleObjectMapper

Methods

CanMapProperty(Type, Type, string, MappingPropertyDefinitionChecks?, string[]?)

Declaration
public static bool CanMapProperty(Type sourceType, Type destinationType, string propertyName, MappingPropertyDefinitionChecks? definitionChecks = null, string[]? ignoredProperties = null)
Parameters
Type Name Description
Type sourceType
Type destinationType
string propertyName
MappingPropertyDefinitionChecks? definitionChecks
string[] ignoredProperties
Returns
Type Description
bool

CanMapProperty<TSource, TDestination>(string, MappingPropertyDefinitionChecks?, string[]?)

Declaration
public static bool CanMapProperty<TSource, TDestination>(string propertyName, MappingPropertyDefinitionChecks? definitionChecks = null, string[]? ignoredProperties = null)
Parameters
Type Name Description
string propertyName
MappingPropertyDefinitionChecks? definitionChecks
string[] ignoredProperties
Returns
Type Description
bool
Type Parameters
Name Description
TSource
TDestination

MapExtraPropertiesTo(Type, Type, Dictionary<string, object?>, Dictionary<string, object?>, MappingPropertyDefinitionChecks?, string[]?)

Declaration
public static void MapExtraPropertiesTo(Type sourceType, Type destinationType, Dictionary<string, object?> sourceDictionary, Dictionary<string, object?> destinationDictionary, MappingPropertyDefinitionChecks? definitionChecks = null, string[]? ignoredProperties = null)
Parameters
Type Name Description
Type sourceType
Type destinationType
Dictionary<string, object> sourceDictionary
Dictionary<string, object> destinationDictionary
MappingPropertyDefinitionChecks? definitionChecks
string[] ignoredProperties

MapExtraPropertiesTo<TSource, TDestination>(Dictionary<string, object?>, Dictionary<string, object?>, MappingPropertyDefinitionChecks?, string[]?)

Declaration
public static void MapExtraPropertiesTo<TSource, TDestination>(Dictionary<string, object?> sourceDictionary, Dictionary<string, object?> destinationDictionary, MappingPropertyDefinitionChecks? definitionChecks = null, string[]? ignoredProperties = null) where TSource : IHasExtraProperties where TDestination : IHasExtraProperties
Parameters
Type Name Description
Dictionary<string, object> sourceDictionary
Dictionary<string, object> destinationDictionary
MappingPropertyDefinitionChecks? definitionChecks
string[] ignoredProperties
Type Parameters
Name Description
TSource
TDestination

MapExtraPropertiesTo<TSource, TDestination>(TSource, TDestination, MappingPropertyDefinitionChecks?, string[]?)

Declaration
public static void MapExtraPropertiesTo<TSource, TDestination>(TSource source, TDestination destination, MappingPropertyDefinitionChecks? definitionChecks = null, string[]? ignoredProperties = null) where TSource : IHasExtraProperties where TDestination : IHasExtraProperties
Parameters
Type Name Description
TSource source
TDestination destination
MappingPropertyDefinitionChecks? definitionChecks
string[] ignoredProperties
Type Parameters
Name Description
TSource
TDestination
In this article
Back to top Powered by ABP.IO Platform