Beispiel #1
0
 public static ISiloBuilder AddBroadcastChannel(this ISiloBuilder @this, string name, Action <OptionsBuilder <BroadcastChannelOptions> > configureOptions = null)
 {
     @this.Services.AddBroadcastChannel(name, configureOptions);
     @this.AddGrainExtension <IBroadcastChannelConsumerExtension, BroadcastChannelConsumerExtension>();
     return(@this);
 }
Beispiel #2
0
 public void Configure(ISiloBuilder hostBuilder)
 {
     hostBuilder.AddGrainExtension <IAutoExtension, AutoExtension>();
 }