Esempio n. 1
0
 /// <summary>Determines whether this keyring equals the given keyring.</summary>
 public bool Equals(Keyring other)
 {
   return this == other ||
          other != null && string.Equals(PublicFile, other.PublicFile, StringComparison.Ordinal) &&
          string.Equals(SecretFile, other.SecretFile, StringComparison.Ordinal) &&
          string.Equals(TrustDbFile, other.TrustDbFile, StringComparison.Ordinal);
 }
Esempio n. 2
0
 /// <summary>Determines whether the two keyrings given are equal.</summary>
 public static bool Equals(Keyring a, Keyring b)
 {
   return a == null ? b == null : a.Equals(b);
 }