Exemple #1
0
        public Task Execute(TCommand command, CancellationToken cancellationToken)
        {
            if (_disposed)
            {
                throw Error.Disposed(nameof(ICommandPipeline <TCommand>));
            }

            return(_behaviours.Execute(command, cancellationToken));
        }