public SubscriptionRouterService Build() { var service = new SubscriptionRouterService(_bus, _network); _observers.Each(x => service.AddObserver(x(_bus, service))); return(service); }
public SubscriptionRouterService Build() { var service = new SubscriptionRouterService(_bus, _network); _observers.Each(x => service.AddObserver(x(_bus, service))); return service; }
public SubscriptionRouterService Build() { SubscriptionStorage storage = _subscriptionStorageFactory(); var repository = new BusSubscriptionRepository(_bus.ControlBus.Endpoint.Address.Uri, storage); var service = new SubscriptionRouterService(_bus, repository, _network); _observers.Each(x => service.AddObserver(x(_bus, service))); return(service); }
public SubscriptionRouterService Build() { SubscriptionStorage storage = _subscriptionStorageFactory(); var repository = new BusSubscriptionRepository(_bus.ControlBus.Endpoint.Address.Uri, storage); var service = new SubscriptionRouterService(_bus, repository, _network); _observers.Each(x => service.AddObserver(x(_bus, service))); return service; }