Class MapperActionManager
Hold actions that can be performed after objects are mapped
Inheritance
System.Object
MapperActionManager
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Onbox.Core.V8.Mapping
Assembly: Onbox.Core.dll
Syntax
public class MapperActionManager : IMapperActionManager
Methods
| Improve this Doc View SourceAddMappingPostAction<TSource, TTaget>(Action<TSource, TTaget>)
Adds a new an action that will be run after the map is complete
Declaration
public void AddMappingPostAction<TSource, TTaget>(Action<TSource, TTaget> action)
where TSource : new()
where TTaget : new()
Parameters
Type | Name | Description |
---|---|---|
System.Action<TSource, TTaget> | action |
Type Parameters
Name | Description |
---|---|
TSource | |
TTaget |
GetMapPostAction(Type, Type)
Retrieves a mapping post action that was previously defined by AddMappingPostAction<TSource, TTaget>(Action<TSource, TTaget>)
Declaration
public Delegate GetMapPostAction(Type source, Type target)
Parameters
Type | Name | Description |
---|---|---|
System.Type | source | |
System.Type | target |
Returns
Type | Description |
---|---|
System.Delegate |