Пример #1
0
 //--- Constructors ---
 public DreamRouteHandler(DreamApplication application, IDreamEnvironment env)
 {
     _application = application;
     _env = env;
 }
Пример #2
0
 //--- Constructors ---
 /// <summary>
 /// Create new handler instance
 /// </summary>
 public RoutedHttpHandler(DreamApplication handler, IDreamEnvironment env)
 {
     _handler = handler;
     _env = env;
 }
Пример #3
0
 //--- Constructors ---
 public DreamRouteHandler(DreamApplication application, IDreamEnvironment env)
 {
     _application = application;
     _env         = env;
 }
Пример #4
0
 //--- Methods ---
 protected void Application_Start()
 {
     log4net.Config.XmlConfigurator.Configure();
     _log.Debug("application start");
     DreamApplication.CreateInHttpApplication(this);
 }
Пример #5
0
        //--- Constructors ---

        /// <summary>
        /// Create new handler instance
        /// </summary>
        public RoutedHttpHandler(DreamApplication handler, IDreamEnvironment env)
        {
            _handler = handler;
            _env     = env;
        }