Table of Contents

Method CreateBaseExecutor

Namespace
Skyline.DataMiner.Core.InterAppCalls.Common.CallSingle
Assembly
Skyline.DataMiner.Core.InterAppCalls.Common.dll

CreateBaseExecutor(IDictionary<Type, Type>)

Retrieves the executor of this message using custom mapping. This contains all logic to perform when receiving this message.

public IBaseMessageExecutor CreateBaseExecutor(IDictionary<Type, Type> messageToExecutorMapping)

Parameters

messageToExecutorMapping IDictionary<Type, Type>

A mapping to link message type with the right execution type.

Returns

IBaseMessageExecutor

The executor holding all logic for processing this message.

Exceptions

ArgumentNullException

messageToExecutorMapping is null.

AmbiguousMatchException

Unable to find executor for this type of message.