public Runtime(FusionAst configuration, RuntimeConfiguration settings = null) { this.configuration = configuration; var emptyContext = new Dictionary <string, object>(); contextStack = new Stack <Dictionary <string, object> >() { }; contextStack.Push(emptyContext); var emptyApplyValues = new Dictionary <string, KeyValuePair <string, object> >(); applyValueStack = new Stack <Dictionary <string, KeyValuePair <string, object> > >(); applyValueStack.Push(emptyApplyValues); this.settings = settings ?? new RuntimeConfiguration(); exceptionHandlerFactory = new ExceptionHandlerFactory(); this.runtimeContentCache = new Cache.RuntimeContentCache(this); }
public void SetExceptionHandlerFactory(ExceptionHandlerFactory exceptionHandlerFactory) { this.exceptionHandlerFactory = exceptionHandlerFactory; }