示例#1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ServerType != 0)
            {
                hash ^= ServerType.GetHashCode();
            }
            if (GroupId != 0)
            {
                hash ^= GroupId.GetHashCode();
            }
            if (SubId != 0)
            {
                hash ^= SubId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#2
0
 public override int GetHashCode()
 {
     return(Server.GetHashCode() ^ CommandLine.GetHashCode()
            ^ ServerType.GetHashCode() ^ ThreadingModel.GetHashCode()
            ^ RawServer.GetSafeHashCode());
 }
 public override int GetHashCode()
 => (Version.GetHashCode() * 397) ^ Type.GetHashCode();
示例#4
0
 public override int GetHashCode()
 {
     return(IdentityType.GetHashCode() ^ ServerType.GetHashCode() ^ InstancingType.GetHashCode() ^
            ServiceName.GetSafeHashCode() ^ ExePath.GetSafeHashCode() ^ Permissions.GetSafeHashCode() ^
            Identity.GetSafeHashCode() ^ PackageId.GetSafeHashCode() ^ Source.GetHashCode());
 }
示例#5
0
 public override int GetHashCode()
 {
     return(base.GetHashCode() ^ ServerType.GetHashCode() ^ Name.GetHashCode() ^ Url.GetHashCode());
 }