Click or drag to resize
IAircraftComparer Interface
The interface for objects that can compare two IAircraft for relative sort order.

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IAircraftComparer : IComparer<IAircraft>

The IAircraftComparer type exposes the following members.

Properties
  NameDescription
Public propertyBrowserLocation
Gets or sets the location of the browser, if known.
Public propertyPrecalculatedDistances
Gets an optional map of unique aircraft identifiers to their distance from the browser location in kilometres.
Public propertySortBy
Gets a list of key-value pairs where the key is the column to sort by (see AircraftComparerColumn) and the value is a bool indicating whether the sort is ascending (true) or descending (false).
Top
Methods
  NameDescription
Public methodCompare
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
(Inherited from IComparerIAircraft.)
Top
See Also