ValueTask IMessageReceiver.Message(DataMessage oDataMessage) { Console.WriteLine(oDataMessage.Data.Attributes); var sCommandName = oDataMessage.Data.Type; var sCommandData = oDataMessage.Data.Attributes; var oCommandType = _oCommandMapper.GetCommandTypeByName(sCommandName); var oCommand = _oCommandMapper.ToCommand(sCommandName, sCommandData); _oCommandBus.Dispatch(oCommand); return(new ValueTask()); }