SharpLibEar/AttributeObjectProperty.cs
author Stephane Lenclud
Fri, 02 Sep 2016 01:38:08 +0200
changeset 267 a601b377a3eb
parent 231 4c706feaf706
permissions -rw-r--r--
Event trigger by name now won't trigger disabled events.
     1 using System;
     2 using System.Collections.Generic;
     3 using System.Linq;
     4 using System.Text;
     5 using System.Threading.Tasks;
     6 
     7 namespace SharpLib.Ear
     8 {
     9     /// <summary>
    10     /// To expose an action property thus enabling user to edit it.
    11     /// </summary>
    12     [System.AttributeUsage(System.AttributeTargets.Property)]
    13     public class AttributeObjectProperty : System.Attribute
    14     {
    15         public string Id;
    16         public string Name;
    17         public string Description;
    18         // For numerics
    19         public string Minimum;
    20         public string Maximum;
    21         public string Increment;
    22         // For file dialog
    23         public string Filter;
    24     }
    25 
    26 
    27 
    28 
    29 }