Assets.Scripts.Services.Communication.WebSocketService.DispatchIncomingCommandToInterceptors C# (CSharp) Метод

DispatchIncomingCommandToInterceptors() приватный Метод

private DispatchIncomingCommandToInterceptors ( CommandDTO commandDTO ) : bool
commandDTO Assets.Scripts.Services.Communication.DTOs.CommandDTO
Результат bool
        private bool DispatchIncomingCommandToInterceptors(CommandDTO commandDTO)
        {
            if (inboundCommandInterceptors.ContainsKey(commandDTO.GetType()))
            {
                return inboundCommandInterceptors[commandDTO.GetType()].InboundIntercept(commandDTO);
            }
            return true;
        }