public Task Handle ( PostPipelineNotification <IncrementCounterAction, Unit> aPostPipelineNotification, CancellationToken aCancellationToken ) { Logger.LogDebug(aPostPipelineNotification.Request.GetType().Name); Logger.LogDebug($"{nameof(IncrementCountNotificationHandler)} handled"); return(Unit.Task); }
public Task Handle ( PostPipelineNotification <GetTransactionAction, TransactionState> aPostPipelineNotification, CancellationToken aCancellationToken ) { Logger.LogDebug(aPostPipelineNotification.Request.GetType().Name); Logger.LogDebug($"{nameof(GetTransactionNotificationHandler)} handled"); return(Task.CompletedTask); }
public Task Handle(PostPipelineNotification <IncrementCounterAction, CounterState> aNotification, CancellationToken aCancellationToken) { Console.WriteLine(aNotification.Request.GetType().Name); Console.WriteLine("IncrementCountNotificationHandler handled"); return(Task.CompletedTask); }