public ActivityWithoutHearbeat(string details, TimeSpan activityExecutionTime) { _activityExecutionTime = activityExecutionTime; Hearbeat.ProvideDetails(() => details); }
public ActivityWithHeartbeatEnabledProgrammatically(string details, TimeSpan activityExecutionTime) { _activityExecutionTime = activityExecutionTime; Hearbeat.Enable(TimeSpan.FromMilliseconds(HeartbeatInterval)); Hearbeat.ProvideDetails(() => details); }
public ActivityWithHeartbeatEnabledByAttribute(string details, TimeSpan activityExecutionTime) { _activityExecutionTime = activityExecutionTime; Hearbeat.ProvideDetails(() => details); }