Registers a given mapping for certain mapping operation.
Syntax
'Declaration
Protected Shared Sub RegisterOperation
(Of As AbstractMappingSource,
As AbstractMapping)( _
ByVal As , _
ByVal As SourceToMappingsDictionary(Of TSource,TMapping) _
)
'Usage
Dim mapping As
Dim operationDictionary As SourceToMappingsDictionary(Of TSource,TMapping)
AbstractOperationContext.RegisterOperation(Of TSource, TMapping)(mapping, operationDictionary)
protected static void RegisterOperation<,>(
,
SourceToMappingsDictionary<TSource,TMapping>
)
where TSource: AbstractMappingSource
where TMapping: AbstractMapping
protected:
static void RegisterOperationgeneric<typename >
generic<typename >
(
,
SourceToMappingsDictionary<TSource^,TMapping^>^
)
where TSource: AbstractMappingSource
where TMapping: AbstractMapping
Parameters
- mapping
- The mapping to be registered for the operation.
- operationDictionary
- The dictionary into which the mapping should be registered.
Type Parameters
- TSource
- The type of the mapping source.
- TMapping
- The type of the mapping.
Requirements
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also