C# Класс Stancer.GTFSEngine.Helper

This class provides extension methods to help decode and convert string values to their system type.
Показать файл Открыть проект

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

Метод Описание
ToCalendarExceptionType ( this item ) : CalendarExceptionType
ToDate ( this item ) : System.DateTime
ToDirectionType ( this item ) : DirectionType?
ToDropOffType ( this item ) : DropOffType?
ToLocationType ( this item ) : LocationType?
ToPaymentMethodType ( this item ) : PaymentMethodType
ToPickUpType ( this item ) : PickUpType?
ToRouteType ( this item ) : RouteType
ToTimeSpan ( this item ) : System.TimeSpan
ToTransferOptionsType ( this item ) : TransferOptionsType
ToTransferType ( this item ) : TransferType
ValidateNotEmptyOrNull ( this item, string field ) : string

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

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

public static ToCalendarExceptionType ( this item ) : CalendarExceptionType
item this
Результат CalendarExceptionType

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

public static ToDate ( this item ) : System.DateTime
item this
Результат System.DateTime

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

public static ToDirectionType ( this item ) : DirectionType?
item this
Результат DirectionType?

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

public static ToDropOffType ( this item ) : DropOffType?
item this
Результат DropOffType?

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

public static ToLocationType ( this item ) : LocationType?
item this
Результат LocationType?

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

public static ToPaymentMethodType ( this item ) : PaymentMethodType
item this
Результат PaymentMethodType

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

public static ToPickUpType ( this item ) : PickUpType?
item this
Результат PickUpType?

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

public static ToRouteType ( this item ) : RouteType
item this
Результат RouteType

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

public static ToTimeSpan ( this item ) : System.TimeSpan
item this
Результат System.TimeSpan

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

public static ToTransferOptionsType ( this item ) : TransferOptionsType
item this
Результат TransferOptionsType

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

public static ToTransferType ( this item ) : TransferType
item this
Результат TransferType

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

public static ValidateNotEmptyOrNull ( this item, string field ) : string
item this
field string
Результат string