コード例 #1
0
ファイル: JessModule.cs プロジェクト: jackingod/jessica
        protected JessModule(string basePath = "")
        {
            Routes   = new List <JessicaRoute>();
            Before   = new BeforeFilters();
            After    = new AfterFilters();
            Response = new ResponseFactory(AppDomain.CurrentDomain.BaseDirectory);

            _viewFactory = new ViewFactory(Jess.ViewEngines, AppDomain.CurrentDomain.BaseDirectory);
            _basePath    = basePath;
        }
コード例 #2
0
ファイル: JessModule.cs プロジェクト: jackingod/jessica
        protected JessModule(string basePath = "")
        {
            Routes = new List<JessicaRoute>();
            Before = new BeforeFilters();
            After = new AfterFilters();
            Response = new ResponseFactory(AppDomain.CurrentDomain.BaseDirectory);

            _viewFactory = new ViewFactory(Jess.ViewEngines, AppDomain.CurrentDomain.BaseDirectory);
            _basePath = basePath;
        }