Class EnumerableFeatureAttribute
Attribute for enumerable feature.
Inheritance
System.Object
System.Attribute
EnumerableFeatureAttribute
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 EnumerableFeatureAttribute : FeatureAttribute
Constructors
View SourceEnumerableFeatureAttribute(Int32)
Constructor.
Declaration
public EnumerableFeatureAttribute(int length)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | length | The length. |
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. |