public Task <Router> CreateAsync(string id, string iotHubName, ISet <Endpoint> endpoints, ISet <Route> routes, Option <Route> fallback) { return(Router.CreateAsync(id, iotHubName, new RouterConfig(endpoints, routes, fallback), this.endpointExecutorFactory)); }
protected Source(Router router) { this.Router = Preconditions.CheckNotNull(router); }
public Task <Router> CreateAsync(string id, string iotHubName) { return(Router.CreateAsync(id, iotHubName, new RouterConfig(new HashSet <Endpoint>(), new HashSet <Route>(), Option.None <Route>()), this.endpointExecutorFactory)); }