public IDisposable Proffer(ServiceRpcDescriptor serviceDescriptor, BrokeredServiceFactory factory) { _serviceFactories.Add(serviceDescriptor, factory); return(null); }
/// <inheritdoc/> public IDisposable Proffer(ServiceRpcDescriptor serviceDescriptor, BrokeredServiceFactory factory) { this.profferedServices.Add(serviceDescriptor.Moniker, factory); return(new DisposableAction(this, serviceDescriptor.Moniker)); }