/// <inheritdoc/> protected override void Dispose(bool disposing) { if (disposing) { ParentSteps?.NotifyStepRemoved(Name); ParentStepsContent?.NotifyStepPanelRemoved(Name); } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { if (disposing) { if (ParentSteps != null) { ParentSteps.NotifyStepRemoved(Name); } if (ParentStepsContent != null) { ParentStepsContent.NotifyStepPanelRemoved(Name); } } base.Dispose(disposing); }