public void Load() { _settingsRoutes = new RoutesCollection(); _runtimeSettingsRoutes = new RoutesCollection(); _screensRoutes = new RoutesCollection(); _applicationsRoutes = new RoutesCollection(); foreach (IRoutingAgent agent in _agents) { agent.Load(this); } foreach (IRoute route in _settingsRoutes) { route.Resolve(); } foreach (IRoute route in _runtimeSettingsRoutes) { route.Resolve(); } foreach (IRoute route in _screensRoutes) { route.Resolve(); } foreach (IRoute route in _applicationsRoutes) { route.Resolve(); } }
public RoutingManager() { this.ApplicationName = HttpContext.Current.Request["a"]; _settingsRoutes = new RoutesCollection(); _runtimeSettingsRoutes = new RoutesCollection(); _screensRoutes = new RoutesCollection(); _applicationsRoutes = new RoutesCollection(); _agents = new RoutingAgentsCollection(); }
public void Load() { _settingsRoutes = new RoutesCollection(); _runtimeSettingsRoutes = new RoutesCollection(); _screensRoutes = new RoutesCollection(); _applicationsRoutes = new RoutesCollection(); foreach (IRoutingAgent agent in _agents) agent.Load(this); foreach (IRoute route in _settingsRoutes) route.Resolve(); foreach (IRoute route in _runtimeSettingsRoutes) route.Resolve(); foreach (IRoute route in _screensRoutes) route.Resolve(); foreach (IRoute route in _applicationsRoutes) route.Resolve(); }