コード例 #1
0
 private Query(FirestoreDb database, StructuredQuery query, CollectionReference collection)
 {
     Database   = database;
     QueryProto = query;
     Collection = collection;
 }
コード例 #2
0
ファイル: Query.cs プロジェクト: rozekey/google-cloud-dotnet
 // private protected = only visible to subclasses within the same assembly.
 // In reality, *only* CollectionReference will ever derive from Query.
 private protected Query()
 {
     Collection = this as CollectionReference;
     GaxPreconditions.CheckState(Collection != null, "Internal Query constructor should only be used from CollectionReference");
     _orderings = new List <InternalOrdering>();
 }