public GeoIndexedShapeFilterDescriptor Lookup <T>(string field, string id, string index = null, string type = null) { this._Shape = new GeoIndexedShapeVector { Field = field, Id = id, Type = type ?? new TypeNameMarker { Type = typeof(T) }, Index = index ?? new IndexNameMarker { Type = typeof(T) } }; return(this); }
private GeoIndexedShapeFilterDescriptor _SetShape <T>(PropertyPathMarker field, string id, string index, string type) { this._Shape = new GeoIndexedShapeVector { Field = field, Id = id, Type = type ?? new TypeNameMarker { Type = typeof(T) }, Index = index ?? new IndexNameMarker { Type = typeof(T) } }; return(this); }