예제 #1
0
 protected ParameterScope(ParameterScopeLevel scopeLevel, ParameterScope parentScope)
 {
     ScopeLevel  = scopeLevel;
     ParentScope = parentScope;
     if (parentScope != null)
     {
         parentScope.RegisterChildScope(this);
     }
     ChildScopes = new List <ParameterScope>();
 }
예제 #2
0
 public void SetParentScope(ParameterScope scope)
 {
     // TECH DEBT - unregister previous parent
     ParentScope = scope;
     scope.RegisterChildScope(this);
 }