public ZookeeperModule UseZooKeeperServiceSubscribeManager(ContainerBuilderWrapper builder, ConfigInfo configInfo) { UseSubscribeManager(builder, provider => { var result = new ZooKeeperServiceSubscribeManager( GetConfigInfo(configInfo), provider.GetRequiredService <ISerializer <byte[]> >(), provider.GetRequiredService <ISerializer <string> >(), provider.GetRequiredService <IServiceSubscriberFactory>(), provider.GetRequiredService <ILogger <ZooKeeperServiceSubscribeManager> >(), provider.GetRequiredService <IZookeeperClientProvider>()); return(result); }); return(this); }