Class DateFeatureAttribute
Attribute for date feature.
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 SourceDateFeatureAttribute(DatePortion)
Constructor.
Declaration
public DateFeatureAttribute(DatePortion portion)
Parameters
Type | Name | Description |
---|---|---|
DatePortion | portion | The portion. |
DateFeatureAttribute(DateTimeFeature)
Constructor.
Declaration
public DateFeatureAttribute(DateTimeFeature features)
Parameters
Type | Name | Description |
---|---|---|
DateTimeFeature | features | The features. |
Methods
View SourceGenerateProperty(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
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when the requested operation is invalid. |