SharpLibEar/AttributeObjectProperty.cs
changeset 231 4c706feaf706
child 238 c92587ddabcd
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/SharpLibEar/AttributeObjectProperty.cs	Fri Aug 12 20:25:05 2016 +0200
     1.3 @@ -0,0 +1,27 @@
     1.4 +using System;
     1.5 +using System.Collections.Generic;
     1.6 +using System.Linq;
     1.7 +using System.Text;
     1.8 +using System.Threading.Tasks;
     1.9 +
    1.10 +namespace SharpLib.Ear
    1.11 +{
    1.12 +    /// <summary>
    1.13 +    /// To expose an action property thus enabling user to edit it.
    1.14 +    /// </summary>
    1.15 +    [System.AttributeUsage(System.AttributeTargets.Property)]
    1.16 +    public class AttributeObjectProperty : System.Attribute
    1.17 +    {
    1.18 +        public string Id;
    1.19 +        public string Name;
    1.20 +        public string Description;
    1.21 +        // For numerics
    1.22 +        public string Minimum;
    1.23 +        public string Maximum;
    1.24 +        public string Increment;
    1.25 +    }
    1.26 +
    1.27 +
    1.28 +
    1.29 +
    1.30 +}