SharpLibEar/AttributeActionProperty.cs
author Stephane Lenclud
Sun, 31 Jul 2016 12:03:52 +0200
changeset 230 8c5cf2228e9a
parent 219 99c407831232
permissions -rw-r--r--
Published v0.10.2.0.
StephaneLenclud@219
     1
using System;
StephaneLenclud@219
     2
using System.Collections.Generic;
StephaneLenclud@219
     3
using System.Linq;
StephaneLenclud@219
     4
using System.Text;
StephaneLenclud@219
     5
using System.Threading.Tasks;
StephaneLenclud@219
     6
StephaneLenclud@219
     7
namespace SharpLib.Ear
StephaneLenclud@219
     8
{
StephaneLenclud@219
     9
    /// <summary>
StephaneLenclud@219
    10
    /// To expose an action property thus enabling user to edit it.
StephaneLenclud@219
    11
    /// </summary>
StephaneLenclud@219
    12
    [System.AttributeUsage(System.AttributeTargets.Property)]
StephaneLenclud@219
    13
    public class AttributeActionProperty : System.Attribute
StephaneLenclud@219
    14
    {
StephaneLenclud@219
    15
        public string Id;
StephaneLenclud@219
    16
        public string Name;
StephaneLenclud@219
    17
        public string Description;
StephaneLenclud@220
    18
        // For numerics
StephaneLenclud@220
    19
        public string Minimum;
StephaneLenclud@220
    20
        public string Maximum;
StephaneLenclud@220
    21
        public string Increment;
StephaneLenclud@219
    22
    }
StephaneLenclud@220
    23
StephaneLenclud@220
    24
StephaneLenclud@220
    25
StephaneLenclud@220
    26
StephaneLenclud@219
    27
}