public override bool IsDependentOn(IObjectDefinition theOtherObject)
 {
     return((theOtherObject == this) ||
            (mMainROI != null && mMainROI.IsDependentOn(theOtherObject)) ||
            (mHoleROI != null && mHoleROI.IsDependentOn(theOtherObject)) ||
            base.IsDependentOn(theOtherObject)
            );
 }
Esempio n. 2
0
 public override bool IsDependentOn(IObjectDefinition theOtherObject)
 {
     return((theOtherObject == this) ||
            (mFirstROI != null && mFirstROI.IsDependentOn(theOtherObject)) ||
            (mSecondROI != null && mSecondROI.IsDependentOn(theOtherObject)) ||
            base.IsDependentOn(theOtherObject)
            );
 }