public FlowNodeStatusChangedEventArgs(IFlowNode node, FlowNodeStatus newStatus, MessageHeader header, IMessageBody body) { Node = node ?? throw new ArgumentNullException(nameof(node)); NewStatus = newStatus; Header = header; Body = body; }
public FlowNodeStatusChangedEventArgs(IFlowNode node, FlowNodeStatus newStatus) : this(node, newStatus, null, null) { }