Show / Hide Table of Contents

Class IGTFSFeedExtensions

Contains extension methods for IGTFSFeed

Inheritance
System.Object
IGTFSFeedExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public static class IGTFSFeedExtensions

Methods

GetRoutesFor(IGTFSFeed, Func<Stop, Boolean>)

Returns all routes along the stops that statisfy the given filter.

Declaration
public static HashSet<string> GetRoutesFor(this IGTFSFeed feed, Func<Stop, bool> stopFilter)
Parameters
IGTFSFeed feed

System.Func<Stop, System.Boolean> stopFilter

Returns
HashSet<System.String>

GetStopsFor(IGTFSFeed, Func<Stop, Boolean>)

Returns all stops that statisfy the given filter.

Declaration
public static HashSet<string> GetStopsFor(this IGTFSFeed feed, Func<Stop, bool> stopFilter)
Parameters
IGTFSFeed feed

System.Func<Stop, System.Boolean> stopFilter

Returns
HashSet<System.String>

GetTripsFor(IGTFSFeed, Func<Stop, Boolean>)

Returns all trips along the stops that statisfy the given filter.

Declaration
public static HashSet<string> GetTripsFor(this IGTFSFeed feed, Func<Stop, bool> stopFilter)
Parameters
IGTFSFeed feed

System.Func<Stop, System.Boolean> stopFilter

Returns
HashSet<System.String>

Back to top Built by Itinero, MIT licensed.