C# Класс numl.Model.DateTimeProperty

Наследование: Property
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Convert ( object o ) : IEnumerable

Convert an object to a list of numbers.

Convert ( double val ) : object

Convert the numeric representation back to the original type.

DateTimeProperty ( ) : System

Default constructor.

DateTimeProperty ( DatePortion portion ) : System

Constructor.

DateTimeProperty ( DateTimeFeature features ) : System

Constructor.

Equals ( object obj ) : bool

Equality test

GetColumns ( ) : IEnumerable

Retrieve the list of expanded columns. If there is a one-to-one correspondence between the type and its expansion it will return a single value/.

GetColumns ( DateTimeFeature features ) : IEnumerable

Retrieve the list of expanded columns. If there is a one-to-one correspondence between the type and its expansion it will return a single value/.

GetFeatures ( string features ) : DateTimeFeature

Gets DateTimeFeature enum from enumerated values

GetHashCode ( ) : int

Return hash

Приватные методы

Метод Описание
Initialize ( DatePortion portion ) : void

Initializes this object.

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

Convert() публичный Метод

Convert an object to a list of numbers.
Thrown when an object cannot be cast to a required /// type.
public Convert ( object o ) : IEnumerable
o object Object.
Результат IEnumerable

Convert() публичный Метод

Convert the numeric representation back to the original type.
public Convert ( double val ) : object
val double .
Результат object

DateTimeProperty() публичный Метод

Default constructor.
public DateTimeProperty ( ) : System
Результат System

DateTimeProperty() публичный Метод

Constructor.
public DateTimeProperty ( DatePortion portion ) : System
portion DatePortion The portion.
Результат System

DateTimeProperty() публичный Метод

Constructor.
public DateTimeProperty ( DateTimeFeature features ) : System
features DateTimeFeature The features.
Результат System

Equals() публичный Метод

Equality test
public Equals ( object obj ) : bool
obj object object to compare
Результат bool

GetColumns() публичный Метод

Retrieve the list of expanded columns. If there is a one-to-one correspondence between the type and its expansion it will return a single value/.
public GetColumns ( ) : IEnumerable
Результат IEnumerable

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

Retrieve the list of expanded columns. If there is a one-to-one correspondence between the type and its expansion it will return a single value/.
public static GetColumns ( DateTimeFeature features ) : IEnumerable
features DateTimeFeature Features
Результат IEnumerable

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

Gets DateTimeFeature enum from enumerated values
public static GetFeatures ( string features ) : DateTimeFeature
features string string collection of enum values
Результат DateTimeFeature

GetHashCode() публичный Метод

Return hash
public GetHashCode ( ) : int
Результат int