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