Microsoft.JScript.VsaStaticCode.AppendSourceText C# (CSharp) Method

AppendSourceText() public method

public AppendSourceText ( string SourceCode ) : void
SourceCode string
return void
      public void AppendSourceText(string SourceCode)
      {
        if (this.engine == null)
          throw new VsaException(VsaError.EngineClosed);
        if (SourceCode == null || SourceCode.Length == 0) return;
        this.codeContext.SetSourceContext(this.codeContext.document, this.codeContext.source_string + SourceCode);
        this.compiledClass = null;
        this.isDirty = true;
        this.engine.IsDirty = true;
      }