Пример #1
0
 public ActivityWithoutHearbeat(string details, TimeSpan activityExecutionTime)
 {
     _activityExecutionTime = activityExecutionTime;
     Hearbeat.ProvideDetails(() => details);
 }
Пример #2
0
 public ActivityWithHeartbeatEnabledProgrammatically(string details, TimeSpan activityExecutionTime)
 {
     _activityExecutionTime = activityExecutionTime;
     Hearbeat.Enable(TimeSpan.FromMilliseconds(HeartbeatInterval));
     Hearbeat.ProvideDetails(() => details);
 }
Пример #3
0
 public ActivityWithHeartbeatEnabledByAttribute(string details, TimeSpan activityExecutionTime)
 {
     _activityExecutionTime = activityExecutionTime;
     Hearbeat.ProvideDetails(() => details);
 }