SharpLibEar/AttributeObjectProperty.cs
author StephaneLenclud
Sat, 07 Jan 2017 20:21:42 +0100
changeset 277 71ba0dd622a5
parent 231 4c706feaf706
permissions -rw-r--r--
Created Audio Manager class.
Clean up CScore audio usage.
Fixing broken audio device change handler.
Fixed various audio Dispose deadlock due to Invoke usage.
Thus now using BeginInvoke instead.
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
    /// <summary>
StephaneLenclud@231
    10
    /// To expose an action property thus enabling user to edit it.
StephaneLenclud@231
    11
    /// </summary>
StephaneLenclud@231
    12
    [System.AttributeUsage(System.AttributeTargets.Property)]
StephaneLenclud@231
    13
    public class AttributeObjectProperty : System.Attribute
StephaneLenclud@231
    14
    {
StephaneLenclud@231
    15
        public string Id;
StephaneLenclud@231
    16
        public string Name;
StephaneLenclud@231
    17
        public string Description;
StephaneLenclud@231
    18
        // For numerics
StephaneLenclud@231
    19
        public string Minimum;
StephaneLenclud@231
    20
        public string Maximum;
StephaneLenclud@231
    21
        public string Increment;
StephaneLenclud@238
    22
        // For file dialog
StephaneLenclud@238
    23
        public string Filter;
StephaneLenclud@231
    24
    }
StephaneLenclud@231
    25
StephaneLenclud@231
    26
StephaneLenclud@231
    27
StephaneLenclud@231
    28
StephaneLenclud@231
    29
}