Microsoft.JScript.GlobalScope.AddComponentScope C# (CSharp) Method

AddComponentScope() private method

private AddComponentScope ( GlobalScope component ) : void
component GlobalScope
return void
      internal void AddComponentScope(GlobalScope component){
        if (this.componentScopes == null)
          this.componentScopes = new ArrayList();
        this.componentScopes.Add(component);
        component.thisObject = this.thisObject; //Component scopes pretend they are one and the same as their parent scope.
      }