public override bool Equals(object obj) { Realm other = obj as Realm; if (other == null) { return false; } return this.uri.Equals(other.uri) && this.DomainWildcard == other.DomainWildcard; }