'Declaration
Protected Shared Sub RegisterOperation (Of TSource As AbstractMappingSource, TMapping As AbstractMapping)( _ ByVal mapping As TMapping, _ ByVal operationDictionary As SourceToMappingsDictionary(Of TSource,TMapping) _ )
'Usage
Dim mapping As TMapping Dim operationDictionary As SourceToMappingsDictionary(Of TSource,TMapping) AbstractOperationContext.RegisterOperation(Of TSource, TMapping)(mapping, operationDictionary)
protected static void RegisterOperation<TSource,TMapping>( TMapping mapping, SourceToMappingsDictionary<TSource,TMapping> operationDictionary ) where TSource: AbstractMappingSource where TMapping: AbstractMapping
protected: static void RegisterOperationgeneric<typename TSource> generic<typename TMapping> ( TMapping^ mapping, SourceToMappingsDictionary<TSource^,TMapping^>^ operationDictionary ) where TSource: AbstractMappingSource where TMapping: AbstractMapping
Parameters
- mapping
- The mapping to be registered for the operation.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - operationDictionary
- The dictionary into which the mapping should be registered.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).The individual elements of the parameter value cannot be
null
(Nothing
in Visual Basic).
Type Parameters
- TSource
- The type of the mapping source.
- TMapping
- The type of the mapping.