Ejemplo n.º 1
0
 public WriteWorkflowExecutionLog(IWorkflowExecutionLog workflowExecutionLog, IMapper mapper)
 {
     _workflowExecutionLog = workflowExecutionLog;
     _mapper = mapper;
 }
 public WriteWorkflowExecutionLog(IWorkflowExecutionLog workflowExecutionLog) => _workflowExecutionLog = workflowExecutionLog;
Ejemplo n.º 3
0
 public static async Task AddEntryAsync(this IWorkflowExecutionLog log, string eventName, WorkflowInstance workflowInstance, IActivityBlueprint activity, string?message, CancellationToken cancellationToken = default, [CallerLineNumber] int line = default, [CallerFilePath] string?sourceFile = default) =>
 await log.AddEntryAsync(eventName, workflowInstance, activity, message, default, $"{Path.GetFileName(sourceFile)}:{line}", cancellationToken);