Пример #1
0
 /// <summary>
 /// Implementation of slot.
 /// </summary>
 /// <param name="signaler">Signaler used to raise the signal.</param>
 /// <param name="input">Arguments to slot.</param>
 /// <returns>An awaitable task.</returns>
 public async Task SignalAsync(ISignaler signaler, Node input)
 {
     var args = GetArguments(signaler, input);
     await _service.SaveFileAsync(args.Stream, args.Destination);
 }