Interface IBicycleRentalLayer
The
IBicycleRentalLayer
capsules the access to all BicycleRentalStation
s.
Inherited Members
System.IDisposable.Dispose()
Namespace: SOHBicycleModel.Rental
Assembly: SOHBicycleModel.dll
Syntax
public interface IBicycleRentalLayer : IVectorLayer<BicycleRentalStation>, IVectorLayer, IEnvelopDataLayer, IDataSet, IDisposable, IDataLayer, IChangingLayer, INotifyChangedSource<IVectorFeature>, IModalLayer, ILayer, IModelObject
Methods
| Improve this Doc View SourceNearest(Position, Boolean)
Tries to find the nearest
BicycleRentalStation
for given parameters.
Declaration
BicycleRentalStation Nearest(Position position, bool notEmpty)
Parameters
Type | Name | Description |
---|---|---|
Position | position | Start point to search by range. |
System.Boolean | notEmpty | Only finds rental points that have bicycles available. |
Returns
Type | Description |
---|---|
BicycleRentalStation | The corresponding if one is found, null otherwise. |