Reading Buses API V3.0.0
A C#, .net Standard Library for the Reading Buses Open Data API (https://reading-opendata.r2p.com/), available to use in your C# console, WPF, UWP or Win Form Applications.
ReadingBusesAPI.BusStops.StopPattern Class Reference

An intermediary class used for the "Line Pattern" API, to get the route of a service. More...

Public Member Functions

bool IsOutbound ()
 Is an outbound stop pattern. More...
 

Properties

string ActoCode [get, set]
 The unique identifier for a bus stop. More...
 
string CommonName [get, set]
 The public, easy to understand stop name. More...
 
Company OperatorCode [get, set]
 The operator associated to the record, this is needed so you can filter it out. More...
 
int Order [get, set]
 The order in which a stop is visited. More...
 
int _direction [get, set]
 

Detailed Description

An intermediary class used for the "Line Pattern" API, to get the route of a service.

Member Function Documentation

◆ IsOutbound()

bool ReadingBusesAPI.BusStops.StopPattern.IsOutbound ( )

Is an outbound stop pattern.

Returns
True if outbound, false if inbound.

Property Documentation

◆ _direction

int ReadingBusesAPI.BusStops.StopPattern._direction
getset

The direction of travel.

todo make this private once system.text.json supports it.

◆ ActoCode

string ReadingBusesAPI.BusStops.StopPattern.ActoCode
getset

The unique identifier for a bus stop.

◆ CommonName

string ReadingBusesAPI.BusStops.StopPattern.CommonName
getset

The public, easy to understand stop name.

◆ OperatorCode

Company ReadingBusesAPI.BusStops.StopPattern.OperatorCode
getset

The operator associated to the record, this is needed so you can filter it out.

◆ Order

int ReadingBusesAPI.BusStops.StopPattern.Order
getset

The order in which a stop is visited.


The documentation for this class was generated from the following file: