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

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

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