public IServiceMethodHandlerFactory GetServiceMethodHandlerFactory() { return(serviceMethodHandlerFactory ?? (serviceMethodHandlerFactory = overrides.ServiceMethodHandlerFactory != null ? overrides.ServiceMethodHandlerFactory(this) : new ServiceMethodHandlerFactory(GetCodecContainer()))); }
public void Setup() { factory = Substitute.For <IServiceMethodHandlerFactory>(); container = new ServiceMethodHandlerContainer(factory); }
public void Setup() { factory = Substitute.For<IServiceMethodHandlerFactory>(); container = new ServiceMethodHandlerContainer(factory); }
public ServiceMethodHandlerContainer(IServiceMethodHandlerFactory factory) { this.factory = factory; handlers = new ConcurrentDictionary <ServicePath, ServiceMethodHandler>(); }
public ServiceMethodHandlerContainer(IServiceMethodHandlerFactory factory) { this.factory = factory; handlers = new ConcurrentDictionary<ServicePath, ServiceMethodHandler>(); }
public IServiceMethodHandlerFactory GetServiceMethodHandlerFactory() { return serviceMethodHandlerFactory ?? (serviceMethodHandlerFactory = overrides.ServiceMethodHandlerFactory != null ? overrides.ServiceMethodHandlerFactory(this) : new ServiceMethodHandlerFactory(GetCodecContainer())); }