SharpLibEar/AttributeAction.cs
author StephaneLenclud
Wed, 27 Jul 2016 11:07:35 +0200
changeset 222 0e8c6c2f4777
parent 210 83dd86e73448
permissions -rw-r--r--
Adding send and release CEC key actions.
Edit action ComboBox now sorted and selecting proper item.
StephaneLenclud@210
     1
using System;
StephaneLenclud@210
     2
using System.Collections.Generic;
StephaneLenclud@210
     3
using System.Linq;
StephaneLenclud@210
     4
using System.Text;
StephaneLenclud@210
     5
using System.Threading.Tasks;
StephaneLenclud@210
     6
StephaneLenclud@210
     7
namespace SharpLib.Ear
StephaneLenclud@210
     8
{
StephaneLenclud@210
     9
StephaneLenclud@219
    10
    /// <summary>
StephaneLenclud@219
    11
    /// For action class to define name and description.
StephaneLenclud@219
    12
    /// </summary>
StephaneLenclud@210
    13
    [System.AttributeUsage(System.AttributeTargets.Class)]
StephaneLenclud@210
    14
    public class AttributeAction : System.Attribute
StephaneLenclud@210
    15
    {
StephaneLenclud@210
    16
        public string Id;
StephaneLenclud@210
    17
        public string Name;
StephaneLenclud@210
    18
        public string Description;
StephaneLenclud@210
    19
    }
StephaneLenclud@210
    20
StephaneLenclud@219
    21
StephaneLenclud@210
    22
}