/// <summary> /// Initialize help system with an execution context. If the execution context /// matches the execution context of current singleton HelpSystem object, nothing /// needs to be done. Otherwise, a new singleton HelpSystem object will be created /// with the new execution context. /// </summary> internal void Initialize() { _verboseHelpErrors = LanguagePrimitives.IsTrue( _executionContext.GetVariableValue(SpecialVariables.VerboseHelpErrorsVarPath, false)); _helpErrorTracer = new HelpErrorTracer(this); InitializeHelpProviders(); }
/// <summary> /// Constructor. Here help context information will be collected. /// </summary> /// <param name="helpTracer"></param> /// <param name="helpFile"></param> internal TraceFrame(HelpErrorTracer helpTracer, string helpFile) { _helpTracer = helpTracer; _helpFile = helpFile; }
internal void Initialize() { this._verboseHelpErrors = LanguagePrimitives.IsTrue(this._executionContext.GetVariable("VerboseHelpErrors", (object)false)); this._helpErrorTracer = new HelpErrorTracer(this); this.InitializeHelpProviders(); }
internal TraceFrame(HelpErrorTracer helpTracer, string helpFile) { this._helpTracer = helpTracer; this._helpFile = helpFile; }