C# Класс Wsdot.Gtfs.Contract.GeoJson.Extensions

Provides extension methods.
Показать файл Открыть проект

Открытые методы

Метод Описание
ToFeatureCollection ( this shapes ) : FeatureCollection

Converts an enumeration of Shape objects into a FeatureCollection<T> of ShapeFeature objects.

ToFeatureCollection ( this stops ) : FeatureCollection

Converts a collection of Stop">Stops into a

ToProperties ( this stop ) : StopFeatureProperties

Converts a Stop to StopFeatureProperties.

ToShapeFeature ( Shape>.this shapes ) : ShapeFeature

ToStopFeature ( this stop ) : StopFeature

Converts a Stop into a StopFeature.

Описание методов

ToFeatureCollection() публичный статический Метод

Converts an enumeration of Shape objects into a FeatureCollection<T> of ShapeFeature objects.
public static ToFeatureCollection ( this shapes ) : FeatureCollection
shapes this A list of objects.
Результат FeatureCollection

ToFeatureCollection() публичный статический Метод

Converts a collection of Stop">Stops into a
public static ToFeatureCollection ( this stops ) : FeatureCollection
stops this A collection of Stops.
Результат FeatureCollection

ToProperties() публичный статический Метод

Converts a Stop to StopFeatureProperties.
public static ToProperties ( this stop ) : StopFeatureProperties
stop this A .
Результат StopFeatureProperties

ToShapeFeature() публичный статический Метод

public static ToShapeFeature ( Shape>.this shapes ) : ShapeFeature
shapes Shape>.this A group of keyed with a common .
Результат ShapeFeature

ToStopFeature() публичный статический Метод

Converts a Stop into a StopFeature.
public static ToStopFeature ( this stop ) : StopFeature
stop this A .
Результат StopFeature