상속: IExecutionContext
예제 #1
0
        public virtual IExecutionContext CreateContext()
        {
            if (_application == null)
            {
                startAll();
            }



            var context = new FubuMvcContext(_application, _binding, _contextualProviders);

            _contextCreationActions.Each(x => x());

            return(context);
        }
예제 #2
0
        public virtual IExecutionContext CreateContext()
        {
            if (_application == null)
            {
                startAll();
            }

            _application.Services.GetInstance <IRequestHistoryCache>().Clear();

            var context = new FubuMvcContext(this);

            _contextCreationActions.Each(x => x());

            return(context);
        }