private void FixupDefectionReport(DefectionReport previousValue)
     {
         if (previousValue != null && previousValue.OperatorDefectionReports.Contains(this))
         {
             previousValue.OperatorDefectionReports.Remove(this);
         }
 
         if (DefectionReport != null)
         {
             if (!DefectionReport.OperatorDefectionReports.Contains(this))
             {
                 DefectionReport.OperatorDefectionReports.Add(this);
             }
         }
     }
Esempio n. 2
0
     private void FixupDefectionReport(DefectionReport previousValue)
     {
         if (previousValue != null && previousValue.FishboneNodes.Contains(this))
         {
             previousValue.FishboneNodes.Remove(this);
         }
 
         if (DefectionReport != null)
         {
             if (!DefectionReport.FishboneNodes.Contains(this))
             {
                 DefectionReport.FishboneNodes.Add(this);
             }
         }
     }