Exemple #1
0
        public void Incoming(BaseCommand command)
        {
            var identifier = _getResponseIdentifier.Get(command.CommandType)(command);

            if (identifier is not null)
            {
                _requests.SetResult(identifier, command);
            }
        }
 public void Incoming(BaseCommand command)
 => _incoming.Get(command.CommandType)(command);