| OrchestratorConfigSetOutputConsumer Method (ActionTupleString, Int32) |
Designates an output consumer action.
This overload of the
SetOutputConsumer method is intended for use in case of textual output (such as
Delimited,
Flat, etc.) to multiple targets and no need to access the global cache.
Namespace:
Mavidian.DataConveyer.Orchestrators
Assembly:
DataConveyer (in DataConveyer.dll) Version: 3.4.6+1324144ff7
Syntax public void SetOutputConsumer(
Action<Tuple<string, int>> consumerToSet
)
Public Sub SetOutputConsumer (
consumerToSet As Action(Of Tuple(Of String, Integer))
)
Parameters
- consumerToSet
- Type: SystemActionTupleString, Int32
An action (void function) that takes a single parameter: a tuple containing a line of text and a corresponding target number.
The action has no access to global cache.
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((Tuple<string, int> tpl) => { ... });
config.SetOutputConsumer(Function(tpl As Tuple(Of String, Integer)) ... )
See Also