コード例 #1
0
ファイル: Query.cs プロジェクト: capaj/Democracy-2.0
        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);
        }
コード例 #2
0
ファイル: Listing.cs プロジェクト: capaj/Democracy-2.0
 public Listing(Query query)
 {
     JSONQuery = query;
 }