Exemple #1
0
        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();
            }
        }
Exemple #2
0
        public RoutingManager()
        {
            this.ApplicationName = HttpContext.Current.Request["a"];

            _settingsRoutes = new RoutesCollection();
            _runtimeSettingsRoutes = new RoutesCollection();
            _screensRoutes = new RoutesCollection();
            _applicationsRoutes = new RoutesCollection();
            _agents = new RoutingAgentsCollection();
        }
Exemple #3
0
        public RoutingManager()
        {
            this.ApplicationName = HttpContext.Current.Request["a"];

            _settingsRoutes        = new RoutesCollection();
            _runtimeSettingsRoutes = new RoutesCollection();
            _screensRoutes         = new RoutesCollection();
            _applicationsRoutes    = new RoutesCollection();
            _agents = new RoutingAgentsCollection();
        }
Exemple #4
0
        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();
        }