Ejemplo n.º 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);
         }
 }
Ejemplo n.º 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);
         }
     }
 }