public void Validate() { // Same as Enable(), we do ports first to make sure // everything is ready for the node's OnValidate foreach (var port in ports) { port.Node = this; port.OnValidate(); } OnValidate(); OnValidateEvent?.Invoke(); }
/// <summary><c>Progress.Worker</c> calls this and /// sets the delegate to be <c>Progress.OnValidateEvent</c> /// </summary> /// public void SetOnValidateEvent(OnValidateEvent ove) { m_OnValidateEvent = ove; }