C# Class numl.Model.DateTimeProperty

Inheritance: Property
Afficher le fichier Open project: sethjuarez/numl Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
Initialize ( DatePortion portion ) : void

Initializes this object.

Method Details

Convert() public méthode

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.
Résultat IEnumerable

Convert() public méthode

Convert the numeric representation back to the original type.
public Convert ( double val ) : object
val double .
Résultat object

DateTimeProperty() public méthode

Default constructor.
public DateTimeProperty ( ) : System
Résultat System

DateTimeProperty() public méthode

Constructor.
public DateTimeProperty ( DatePortion portion ) : System
portion DatePortion The portion.
Résultat System

DateTimeProperty() public méthode

Constructor.
public DateTimeProperty ( DateTimeFeature features ) : System
features DateTimeFeature The features.
Résultat System

Equals() public méthode

Equality test
public Equals ( object obj ) : bool
obj object object to compare
Résultat bool

GetColumns() public méthode

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
Résultat IEnumerable

GetColumns() public static méthode

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
Résultat IEnumerable

GetFeatures() public static méthode

Gets DateTimeFeature enum from enumerated values
public static GetFeatures ( string features ) : DateTimeFeature
features string string collection of enum values
Résultat DateTimeFeature

GetHashCode() public méthode

Return hash
public GetHashCode ( ) : int
Résultat int