Skip to content

SiloBuilderExtensions Methods

Extension methods for configuring generated Event Hubs streams on an Orleans silo.

AddEventDataGeneratorStreams(ISiloBuilder, string, Action<IEventDataGeneratorStreamConfigurator>)

staticextension
View source
public static ISiloBuilder AddEventDataGeneratorStreams(this ISiloBuilder builder, string name, Action<IEventDataGeneratorStreamConfigurator> configure)
Adds a named stream provider which generates Event Hubs data for development and testing.

Parameters

builderISiloBuilder
The silo builder.
namestring
The stream provider name.
configureAction<IEventDataGeneratorStreamConfigurator>
The delegate used to configure the stream provider.

Returns

The silo builder.