private ContainerBuilderWrapper UseRabbitMQEventAdapt(ContainerBuilderWrapper builder, Func <IServiceProvider, ISubscriptionAdapt> adapt)
 {
     builder.RegisterAdapter(adapt);
     return(builder);
 }
 public ContainerBuilderWrapper UseCacheManager(ContainerBuilderWrapper builder, Func <IServiceProvider, IServiceCacheManager> factory)
 {
     builder.RegisterAdapter(factory).InstancePerLifetimeScope();
     return(builder);
 }
Beispiel #3
0
 public ContainerBuilderWrapper UseCounlClientProvider(ContainerBuilderWrapper builder, Func <IServiceProvider, IConsulClientProvider> factory)
 {
     builder.RegisterAdapter(factory).SingleInstance();
     return(builder);
 }
Beispiel #4
0
 public ContainerBuilderWrapper UseZooKeeperClientProvider(ContainerBuilderWrapper builder, Func <IServiceProvider, IZookeeperClientProvider> factory)
 {
     builder.RegisterAdapter(factory).InstancePerLifetimeScope();
     return(builder);
 }
Beispiel #5
0
 public ContainerBuilderWrapper UseMqttRouteManager(ContainerBuilderWrapper builder, Func <IServiceProvider, IMqttServiceRouteManager> factory)
 {
     builder.RegisterAdapter(factory).SingleInstance();
     return(builder);
 }