SharpLibEar/AttributeObject.cs
author Stephane Lenclud
Fri, 02 Sep 2016 01:38:08 +0200
changeset 267 a601b377a3eb
permissions -rw-r--r--
Event trigger by name now won't trigger disabled events.
StephaneLenclud@231
     1
using System;
StephaneLenclud@231
     2
using System.Collections.Generic;
StephaneLenclud@231
     3
using System.Linq;
StephaneLenclud@231
     4
using System.Text;
StephaneLenclud@231
     5
using System.Threading.Tasks;
StephaneLenclud@231
     6
StephaneLenclud@231
     7
namespace SharpLib.Ear
StephaneLenclud@231
     8
{
StephaneLenclud@231
     9
StephaneLenclud@231
    10
    /// <summary>
StephaneLenclud@231
    11
    /// For action class to define name and description.
StephaneLenclud@231
    12
    /// </summary>
StephaneLenclud@231
    13
    [System.AttributeUsage(System.AttributeTargets.Class)]
StephaneLenclud@231
    14
    public class AttributeObject : System.Attribute
StephaneLenclud@231
    15
    {
StephaneLenclud@231
    16
        public string Id;
StephaneLenclud@231
    17
        public string Name;
StephaneLenclud@231
    18
        public string Description;
StephaneLenclud@231
    19
    }
StephaneLenclud@231
    20
StephaneLenclud@231
    21
StephaneLenclud@231
    22
}