Пример #1
0
        public override int GetHashCode()
        {
            var hashCode = 321779470;

            hashCode = hashCode * -1521134295 + Id.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Nome);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(FotoPerfil);

            hashCode = hashCode * -1521134295 + XP.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Status);

            hashCode = hashCode * -1521134295 + Insignia.GetHashCode();
            hashCode = hashCode * -1521134295 + FoiAceito.GetHashCode();
            hashCode = hashCode * -1521134295 + ConvidouVoce.GetHashCode();
            return(hashCode);
        }
Пример #2
0
        public override int GetHashCode()
        {
            var hashCode = -1080711052;

            hashCode = hashCode * -1521134295 + Id.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(CodUsuario);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Email);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Nome);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(FotoPerfil);

            hashCode = hashCode * -1521134295 + EqualityComparer <List <Amigo> > .Default.GetHashCode(Amigos);

            hashCode = hashCode * -1521134295 + EqualityComparer <List <Amigo> > .Default.GetHashCode(Solicitacoes);

            hashCode = hashCode * -1521134295 + EqualityComparer <List <Tarefa> > .Default.GetHashCode(Tarefas);

            hashCode = hashCode * -1521134295 + EqualityComparer <List <Meta> > .Default.GetHashCode(Metas);

            hashCode = hashCode * -1521134295 + EqualityComparer <List <Notificacao> > .Default.GetHashCode(Notificacoes);

            hashCode = hashCode * -1521134295 + EqualityComparer <List <Acontecimento> > .Default.GetHashCode(Acontecimentos);

            hashCode = hashCode * -1521134295 + EqualityComparer <List <Item> > .Default.GetHashCode(Itens);

            hashCode = hashCode * -1521134295 + XP.GetHashCode();
            hashCode = hashCode * -1521134295 + Level.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Status);

            hashCode = hashCode * -1521134295 + Insignia.GetHashCode();
            hashCode = hashCode * -1521134295 + Dinheiro.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Titulo);

            hashCode = hashCode * -1521134295 + TemaSite.GetHashCode();
            hashCode = hashCode * -1521134295 + Decoracao.GetHashCode();
            hashCode = hashCode * -1521134295 + ConfiguracoesEmail.GetHashCode();
            return(hashCode);
        }