Example #1
0
 internal void AddChild(InnerRelation child, bool isNormChild)
 {
     if (isNormChild)
         lock (this.nChildren)
         {
             this.nChildren.Add(child);
         }
     else
         lock (this.aChildren)
         {
             this.aChildren.Add(child);
         }
 }
Example #2
0
 internal void AddChild(InnerRelation child, bool isNormChild)
 {
     if (isNormChild)
     {
         lock (this.nChildren)
         {
             this.nChildren.Add(child);
         }
     }
     else
     {
         lock (this.aChildren)
         {
             this.aChildren.Add(child);
         }
     }
 }