public bool Equals(Query second) { // If parameter is null return false: if ((object)second == null || sourceJSON == null || second.sourceJSON == null) { return false; } // Return true if the fields match: return sourceJSON.Equals(second.sourceJSON); }
public Listing(Query query) { JSONQuery = query; }