Ejemplo n.º 1
0
 public ActivityWithoutHearbeat(string details, TimeSpan activityExecutionTime)
 {
     _activityExecutionTime = activityExecutionTime;
     Hearbeat.ProvideDetails(() => details);
 }
Ejemplo n.º 2
0
 public ActivityWithHeartbeatEnabledProgrammatically(string details, TimeSpan activityExecutionTime)
 {
     _activityExecutionTime = activityExecutionTime;
     Hearbeat.Enable(TimeSpan.FromMilliseconds(HeartbeatInterval));
     Hearbeat.ProvideDetails(() => details);
 }
Ejemplo n.º 3
0
 public ActivityWithHeartbeatEnabledByAttribute(string details, TimeSpan activityExecutionTime)
 {
     _activityExecutionTime = activityExecutionTime;
     Hearbeat.ProvideDetails(() => details);
 }