public void NotifyChildDetached(FailStateNode childNode) { switch (childNode.FailState) { case NodeFailState.Failed: RemoveFailure(); break; } }
public void NotifyChildAttached(FailStateNode childNode) { switch (childNode.FailState) { case NodeFailState.Failed: AddFailure(); break; case NodeFailState.Repaired: AddFailure(); RemoveFailure(); break; } }