public override int GetHashCode() {
   int hash = 1;
   if (Version.Length != 0) hash ^= Version.GetHashCode();
   if (Id.Length != 0) hash ^= Id.GetHashCode();
   if (CreatedDT.Length != 0) hash ^= CreatedDT.GetHashCode();
   if (ModifiedDT.Length != 0) hash ^= ModifiedDT.GetHashCode();
   if (FileId.Length != 0) hash ^= FileId.GetHashCode();
   if (Index != 0) hash ^= Index.GetHashCode();
   if (Content.Length != 0) hash ^= Content.GetHashCode();
   return hash;
 }
Beispiel #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (CreatedDT.Length != 0)
            {
                hash ^= CreatedDT.GetHashCode();
            }
            if (ModifiedDT.Length != 0)
            {
                hash ^= ModifiedDT.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (LoginName.Length != 0)
            {
                hash ^= LoginName.GetHashCode();
            }
            if (PasswordHash.Length != 0)
            {
                hash ^= PasswordHash.GetHashCode();
            }
            if (AuthenticationToken.Length != 0)
            {
                hash ^= AuthenticationToken.GetHashCode();
            }
            if (IsActive != false)
            {
                hash ^= IsActive.GetHashCode();
            }
            if (IsAdmin != false)
            {
                hash ^= IsAdmin.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Version.Length != 0)
            {
                hash ^= Version.GetHashCode();
            }
            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (CreatedDT.Length != 0)
            {
                hash ^= CreatedDT.GetHashCode();
            }
            if (ModifiedDT.Length != 0)
            {
                hash ^= ModifiedDT.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Size != 0)
            {
                hash ^= Size.GetHashCode();
            }
            if (TotalChunks != 0)
            {
                hash ^= TotalChunks.GetHashCode();
            }
            if (Content.Length != 0)
            {
                hash ^= Content.GetHashCode();
            }
            return(hash);
        }