Click or drag to resize

OrchestratorConfigSetOutputConsumer Method (ActionExternalLine, IGlobalCache)

Designates an output consumer action. This overload of the SetOutputConsumer method is intended for use in case of any output to a single target when access to the global cache is needed.

Namespace:  Mavidian.DataConveyer.Orchestrators
Assembly:  DataConveyer (in DataConveyer.dll) Version: 3.4.6+1324144ff7
Syntax
public void SetOutputConsumer(
	Action<ExternalLine, IGlobalCache> consumerToSet
)

Parameters

consumerToSet
Type: SystemActionExternalLine, IGlobalCache
An action (void function) that takes 2 parameters: (1) an ExternalLine object, and (2) a reference to global cache. The action is suitable in case of a single target (it will direct all output to target number 1).
Remarks
When the method parameter (the consumerToSet action) is expressed using lambda expression, it may be necessary to disambiguate the type of the actions's argument; for example:
config.SetOutputConsumer((ExternalLine l, IGlobalCache gc) => { ... });
See Also