public AssemblyBusServiceConfigurator(IEnumerable <IEndpointSpecification> endpointSpecifications, IServiceSpecification serviceSpecification, ISettingsProvider settingsProvider) { _serviceSpecification = serviceSpecification; _settingsProvider = settingsProvider; _endpointSpecifications = endpointSpecifications.ToArray(); }
public AssemblyBusServiceConfigurator(IEnumerable<IEndpointSpecification> endpointSpecifications, IServiceSpecification serviceSpecification, ISettingsProvider settingsProvider) { _serviceSpecification = serviceSpecification; _settingsProvider = settingsProvider; _endpointSpecifications = endpointSpecifications.ToArray(); }
public List<ServiceTask> GetTasks(IServiceSpecification spec) { var resList = cacheStorage .Where(spec.IsSatisfied) .ToList(); return resList; }
public List <ServiceTask> GetTasks(IServiceSpecification spec) { var resList = cacheStorage .Where(spec.IsSatisfied) .ToList(); return(resList); }
public List <ClientTask> GetTasks(IServiceSpecification serviceSpecification) { return(repo.GetTasks(serviceSpecification) .Select(mapper.ConvertToClient) .ToList()); }
public List<ServiceTask> GetTasks(IServiceSpecification spec) { return taskList.Where(spec.IsSatisfied).ToList(); }
public List<ClientTask> GetTasks(IServiceSpecification serviceSpecification) { return repo.GetTasks(serviceSpecification) .Select(mapper.ConvertToClient) .ToList(); }
public List <ServiceTask> GetTasks(IServiceSpecification spec) { return(taskList.Where(spec.IsSatisfied).ToList()); }