Esempio n. 1
0
 /// <summary>
 /// Configure silo to use PubSub persistent streams.
 /// </summary>
 public static ISiloBuilder AddPubSubStreams <TDataAdapter>(
     this ISiloBuilder builder,
     string name, Action <PubSubOptions> configurePubSub)
     where TDataAdapter : IPubSubDataAdapter
 {
     builder.AddPubSubStreams <TDataAdapter>(name, b =>
                                             b.ConfigurePubSub(ob => ob.Configure(configurePubSub)));
     return(builder);
 }