Table of Contents

Method CreateExecutor

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

CreateExecutor(IDictionary<Type, Type>)

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

public IMessageExecutor CreateExecutor(IDictionary<Type, Type> messageToExecutorMapping)

Parameters

messageToExecutorMapping IDictionary<Type, Type>

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

Returns

IMessageExecutor

The executor holding all logic for processing this message.

Exceptions

ArgumentNullException

messageToExecutorMapping is null.

AmbiguousMatchException

Unable to find executor for this type of message.