C# Класс Xaye.Fred.Extensions

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

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

Метод Описание
ToFredDate ( this date ) : System.DateTime

Converts a FRED formatted date string to a DateTime.

ToFredDateString ( this date ) : string

Converts a string to a FRED formated date string.

ToFredDateTime ( this date ) : System.DateTime

Converts a FRED formatted date and time string to a DateTime.

ToFrequency ( this frequency ) : Frequency

Creates a string to a Frequency.

ToString ( AggregationMethod method ) : string

Converts a AggregationMethod to a string.

ToString ( SortOrder order ) : string

Converts a SortOrder to a string.

ToString ( Source orderBy ) : string

Converts a Source.OrderBy to a string.

ToString ( this transformation ) : string

Converts a Transformation to a string.

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

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

Converts a FRED formatted date string to a DateTime.
public static ToFredDate ( this date ) : System.DateTime
date this The date string to create the date from.
Результат System.DateTime

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

Converts a string to a FRED formated date string.
public static ToFredDateString ( this date ) : string
date this The date to convert.
Результат string

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

Converts a FRED formatted date and time string to a DateTime.
public static ToFredDateTime ( this date ) : System.DateTime
date this The date and time string to create the date from.
Результат System.DateTime

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

Creates a string to a Frequency.
public static ToFrequency ( this frequency ) : Frequency
frequency this The string to convert.
Результат Frequency

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

Converts a AggregationMethod to a string.
public static ToString ( AggregationMethod method ) : string
method AggregationMethod The aggregation method to convert.
Результат string

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

Converts a SortOrder to a string.
public static ToString ( SortOrder order ) : string
order SortOrder The order to convert.
Результат string

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

Converts a Source.OrderBy to a string.
public static ToString ( Source orderBy ) : string
orderBy Source The Source.OrderBy to convert.
Результат string

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

Converts a Transformation to a string.
public static ToString ( this transformation ) : string
transformation this The transformation to convert.
Результат string