private void OnFaulted(object sender, StateMachineFaultedEventArgs eventArgs) { var handler = this.Faulted; if (handler != null) { handler(this, eventArgs); } }
private void OnFaulted(object sender, StateMachineFaultedEventArgs eventArgs) { this.Faulted?.Invoke(this, eventArgs); }
private void OnFaulted(object sender, StateMachineFaultedEventArgs eventArgs) { var handler = this.Faulted; if (handler != null) handler(this, eventArgs); }