Show / Hide Table of Contents

Class AerodromeDataStore

Object to hold basic aerodrome information

Inheritance
object
AerodromeDataStore
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: FpAssistantCore.Aerodromes
Assembly: FpAssistantCoreScl.dll
Syntax
public static class AerodromeDataStore
Remarks

This is a static class object

Methods

View Source

AsListString()

Method to return a list of aerodromes as list type of strings

Declaration
public static List<string> AsListString()
Returns
Type Description
List<string>

String lists of Aerodrome data

Remarks

Contains all data, delimited by '|'

View Source

FindByIATACode(string)

Lookup an aerodrome by IATA code

Declaration
public static (bool result, Aerodrome aerodrome) FindByIATACode(string lookFor)
Parameters
Type Name Description
string lookFor

IATA code to look up in aerodrome internal list

Returns
Type Description
(bool result, Aerodrome aerodrome)

Tuple: True if found else false, Aerodrome class object

Exceptions
Type Condition
ArgumentNullException

If parameter is null

View Source

FindByICAOCode(string)

Lookup an aerodrome by ICAO code

Declaration
public static (bool result, Aerodrome aerodrome) FindByICAOCode(string lookFor)
Parameters
Type Name Description
string lookFor

ICAO code to look up in aerodrome internal list

Returns
Type Description
(bool result, Aerodrome aerodrome)

Tuple: True if found else false, Aerodrome class object

Exceptions
Type Condition
ArgumentNullException

If parameter is null

View Source

GetARPCoordinate(string)

Get ARP coordinate of an aerodrome found by IATA code

Declaration
public static GeoCoordinate GetARPCoordinate(string iataCode)
Parameters
Type Name Description
string iataCode

IATA code to look up i.e. LGW, LHR, LAX

Returns
Type Description
GeoCoordinate

GeoCoordinate of the ARP

Exceptions
Type Condition
NullReferenceException

If parameter is null

View Source

TextSearch(string)

Method to return a list of aerodromes based on a query string

Declaration
public static List<Aerodrome> TextSearch(string query)
Parameters
Type Name Description
string query

Text literal search in Aerodrome data

Returns
Type Description
List<Aerodrome>

List of aerodromes that atch text literal query search

Remarks

If the query is a '*' then all aerodromes will be returned

  • View Source
In this article
Back to top Copyright 2018-2026 CADology Limited