Exemplo n.º 1
0
 /// <summary>
 /// Sets the coordinates using the MultiLineString
 /// </summary>
 /// <typeparam name="T">the document type</typeparam>
 /// <param name="descriptor">the descriptor</param>
 /// <param name="multiLineString">the MultiLineString</param>
 /// <returns>the <see cref="GeoShapeMultiLineStringQueryDescriptor{T}"/></returns>
 public static GeoShapeMultiLineStringQueryDescriptor <T> Coordinates <T>(
     this GeoShapeMultiLineStringQueryDescriptor <T> descriptor,
     IMultiLineString multiLineString) where T : class => descriptor.Coordinates(multiLineString.GetCoordinates());
 /// <summary>
 /// Sets the coordinates using the MultiLineString
 /// </summary>
 /// <param name="descriptor">the descriptor</param>
 /// <param name="multiLineString">the MultiLineString</param>
 /// <returns>the <see cref="GeoShapeMultiLineStringFilterDescriptor"/></returns>
 public static GeoShapeMultiLineStringFilterDescriptor Coordinates(
     this GeoShapeMultiLineStringFilterDescriptor descriptor,
     IMultiLineString multiLineString) => descriptor.Coordinates(multiLineString.GetCoordinates());
 public static GeoShapeMultiLineStringFilterDescriptor Coordinates(
     this GeoShapeMultiLineStringFilterDescriptor descriptor, 
     IMultiLineString multiLineString)
 {
     return descriptor.Coordinates(multiLineString.GetCoordinates());
 }