コード例 #1
0
ファイル: Query.cs プロジェクト: aforty/factual-csharp-driver
 /// <summary>
 /// Adds a filter so that results can only be (roughly) within the specified
 /// geographic circle.
 /// </summary>
 /// <param name="circle">The circle within which to bound the results.</param>
 /// <returns>this Query.</returns>
 public Query WithIn(Circle circle)
 {
     Add(circle.GetFilter());
     return this;
 }
コード例 #2
0
 /// <summary>
 /// Adds a filter so that results can only be (roughly) within the specified
 /// geographic circle.
 /// </summary>
 /// <param name="circle">The circle within which to bound the results.</param>
 /// <returns>FacetQuery</returns>
 public FacetQuery Within(Circle circle)
 {
     Add(circle.GetFilter());
     return this;
 }