Show / Hide Table of Contents

Class DateFeatureAttribute

Attribute for date feature.

Inheritance
System.Object
System.Attribute
NumlAttribute
FeatureAttribute
DateFeatureAttribute
Inherited Members
System.Attribute.Equals(System.Object)
System.Attribute.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:numl.Model
Assembly:numl.dll
Syntax
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class DateFeatureAttribute : FeatureAttribute

Constructors

View Source

DateFeatureAttribute(DatePortion)

Constructor.

Declaration
public DateFeatureAttribute(DatePortion portion)
Parameters
Type Name Description
DatePortion portion

The portion.

View Source

DateFeatureAttribute(DateTimeFeature)

Constructor.

Declaration
public DateFeatureAttribute(DateTimeFeature features)
Parameters
Type Name Description
DateTimeFeature features

The features.

Methods

View Source

GenerateProperty(PropertyInfo)

Generates a property.

Declaration
public override Property GenerateProperty(PropertyInfo property)
Parameters
Type Name Description
System.Reflection.PropertyInfo property

The property.

Returns
Type Description
Property

The property.

Overrides
NumlAttribute.GenerateProperty(PropertyInfo)
Exceptions
Type Condition
System.InvalidOperationException

Thrown when the requested operation is invalid.

  • View Source
©2017 — Seth Juarez
numl v0.9.20-beta
MIT License
docs by docfx