protected override async Task DoAfterActivateAsync(IRunControlAttemptSuccess result) { await base.DoAfterActivateAsync(result : result).ConfigureAwait(false); // if (Description.SignalOnActivation && (!Description.SignalOnFirstActivationOnly || result.SucceededAttemptCountBefore == 0)) { SignalAtMostOne(signalProps: new TriggerSignalProperties(trigger: this, correlationId: result.CorrelationId)); } }
public RunControlAfterStartEventArgs(IRunControlAttemptSuccess result) : base(runControl: result.EnsureNotNull(nameof(result)).Value.RunControl) { Result = result; }
internal RunControlAttemptSuccess(IRunControlAttemptSuccess other, ArgumentPlaceholder <bool> isMaster = default) : this(props : other.EnsureNotNull(nameof(other)).Value, duration : other.Duration, isMaster : isMaster.Substitute(value : other.IsMaster)) { }