예제 #1
0
 /// <inheritdoc />
 public override Int32 GetHashCode()
 {
     unchecked
     {
         return((CompanyId.GetHashCode() * 397) ^ (Data != null ? Data.GetHashCode() : 0));
     }
 }
예제 #2
0
        public override int GetHashCode()
        {
            int hashcode = BeginDate.GetHashCode();

            hashcode = 31 * hashcode + CompanyId.GetHashCode();
            return(hashcode);
        }
예제 #3
0
파일: Place.cs 프로젝트: shdamon/GBFDATA
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (CompanyId.Length != 0)
                    {
                        hash ^= CompanyId.GetHashCode();
                    }
                    if (CompanyName.Length != 0)
                    {
                        hash ^= CompanyName.GetHashCode();
                    }
                    if (Status != 0)
                    {
                        hash ^= Status.GetHashCode();
                    }
                    if (AreaCode.Length != 0)
                    {
                        hash ^= AreaCode.GetHashCode();
                    }
                    if (CreateTime.Length != 0)
                    {
                        hash ^= CreateTime.GetHashCode();
                    }
                    if (Address.Length != 0)
                    {
                        hash ^= Address.GetHashCode();
                    }
                    return(hash);
                }
예제 #4
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash   = 31;
         int result = 1;
         result = hash * result + ((Username == null) ? 0 : Username.GetHashCode());
         result = hash * result + ((Company == null) ? 0 : Company.GetHashCode());
         result = hash * result + ((Password == null) ? 0 : Password.GetHashCode());
         result = hash * result + ((Session == null) ? 0 : Session.GetHashCode());
         result = hash * result + CompanyId.GetHashCode();
         result = hash * result + UserId.GetHashCode();
         return(result);
     }
 }
예제 #5
0
 public override int GetHashCode()
 {
     return((31 * CompanyId.GetHashCode()) + PersonId.GetHashCode());
 }
예제 #6
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Protocol != global::PKIo.PassProtocol.DoNotUse)
            {
                hash ^= Protocol.GetHashCode();
            }
            if (CompanyId.Length != 0)
            {
                hash ^= CompanyId.GetHashCode();
            }
            if (ClassId.Length != 0)
            {
                hash ^= ClassId.GetHashCode();
            }
            if (Uuid.Length != 0)
            {
                hash ^= Uuid.GetHashCode();
            }
            if (Status != global::PKIo.MessageStatus.Created)
            {
                hash ^= Status.GetHashCode();
            }
            if (Warning.Length != 0)
            {
                hash ^= Warning.GetHashCode();
            }
            if (ImageId != 0)
            {
                hash ^= ImageId.GetHashCode();
            }
            if (Title.Length != 0)
            {
                hash ^= Title.GetHashCode();
            }
            if (localizedTitle_ != null)
            {
                hash ^= LocalizedTitle.GetHashCode();
            }
            if (Content.Length != 0)
            {
                hash ^= Content.GetHashCode();
            }
            if (localizedContent_ != null)
            {
                hash ^= LocalizedContent.GetHashCode();
            }
            if (startDate_ != null)
            {
                hash ^= StartDate.GetHashCode();
            }
            if (endDate_ != null)
            {
                hash ^= EndDate.GetHashCode();
            }
            if (filter_ != null)
            {
                hash ^= Filter.GetHashCode();
            }
            if (RecordsMatchingSegment != 0)
            {
                hash ^= RecordsMatchingSegment.GetHashCode();
            }
            if (RecordsSuccessfullyUpdate != 0)
            {
                hash ^= RecordsSuccessfullyUpdate.GetHashCode();
            }
            if (RecordsFailedToUpdate != 0)
            {
                hash ^= RecordsFailedToUpdate.GetHashCode();
            }
            if (created_ != null)
            {
                hash ^= Created.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }