Esempio n. 1
0
 public static void ConfigureLifecycle(this IClusterClientPersistentStreamConfigurator configurator, Action <OptionsBuilder <StreamLifecycleOptions> > configureOptions)
 {
     configurator.Configure(configureOptions);
 }
 public static IClusterClientPersistentStreamConfigurator ConfigureStreamPubSub(this IClusterClientPersistentStreamConfigurator configurator, StreamPubSubType pubsubType = StreamPubSubOptions.DEFAULT_STREAM_PUBSUB_TYPE)
 {
     configurator.Configure <StreamPubSubOptions>(ob => ob.Configure(options => options.PubSubType = pubsubType));
     return(configurator);
 }