Condividi tramite


TelemetryProcessorChainBuilder Class

Definition

Represents an object used to Build a TelemetryProcessorChain.

public sealed class TelemetryProcessorChainBuilder
type TelemetryProcessorChainBuilder = class
Public NotInheritable Class TelemetryProcessorChainBuilder
Inheritance
TelemetryProcessorChainBuilder

Constructors

TelemetryProcessorChainBuilder(TelemetryConfiguration, TelemetrySink)

Initializes a new instance of the TelemetryProcessorChainBuilder class.

TelemetryProcessorChainBuilder(TelemetryConfiguration)

Initializes a new instance of the TelemetryProcessorChainBuilder class.

Methods

Build()

Builds the chain of linked ITelemetryProcessor instances and sets the same in configuration object passed. A special telemetry processor for handling Transmission is always appended as the last processor in the chain.

Use(Func<ITelemetryProcessor,ITelemetryProcessor>)

Uses given factory to add TelemetryProcessor to the chain of processors. The processors in the chain will be invoked in the same order in which they are added.

Applies to