public virtual IExecutionContext CreateContext() { if (_application == null) { startAll(); } var context = new FubuMvcContext(_application, _binding, _contextualProviders); _contextCreationActions.Each(x => x()); return(context); }
public virtual IExecutionContext CreateContext() { if (_application == null) { startAll(); } _application.Services.GetInstance <IRequestHistoryCache>().Clear(); var context = new FubuMvcContext(this); _contextCreationActions.Each(x => x()); return(context); }