Пример #1
0
 /// <inheritdoc/>
 public virtual Task onExecuting(BatchConfigContext context)
 {
     if (_value != null)
     {
         context.BatchConfiguration.AddOrUpdate(_name, _value);
     }
     return(Task.CompletedTask);
 }
Пример #2
0
 /// <inheritdoc/>
 public virtual Task onExecuted(BatchConfigContext context)
 {
     return(Task.CompletedTask);
 }
Пример #3
0
 public override Task onExecuting(BatchConfigContext context)
 {
     context.ActionDescriptor = null;
     return(Task.CompletedTask);
 }