public override int GetHashCode()
        {
            int hash = 1;

            if (ImagePath.Length != 0)
            {
                hash ^= ImagePath.GetHashCode();
            }
            if (RunPrivileged != false)
            {
                hash ^= RunPrivileged.GetHashCode();
            }
            if (RunDocker != false)
            {
                hash ^= RunDocker.GetHashCode();
            }
            if (AllowCommands != false)
            {
                hash ^= AllowCommands.GetHashCode();
            }
            hash ^= injectedCredentialTypes_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((ImagePath != null ? ImagePath.GetHashCode() : 0) * 397) ^ (ImageKey != null ? ImageKey.GetHashCode() : 0));
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ImagePath.Length != 0)
            {
                hash ^= ImagePath.GetHashCode();
            }
            hash ^= singleImageDim_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 4
0
 public override int GetHashCode()
 {
     return(base.GetHashCode()
            ^ (ImagePath == null ? 0 : ImagePath.GetHashCode())
            ^ (SoundPath == null ? 0 : SoundPath.GetHashCode()));
 }
Esempio n. 5
0
 /// <summary>
 /// ハッシュ値を計算します。
 /// </summary>
 public override int GetHashCode()
 {
     return(ImagePath.GetHashCode() ^ Count.GetHashCode());
 }