aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Core/CustomAttributes/XamlVectorAttribute.cs
blob: fc92eb07c2901e1a78472c91883e05b6d3a1611e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.Core.CustomAttributes
{
    /// <summary>
    /// Represents an association of a xaml markup vector to with an enum field.
    /// </summary>
    /// <seealso cref="System.Attribute" />
    [AttributeUsage(AttributeTargets.Field)]
    public class XamlVectorAttribute : Attribute
    {
        /// <summary>
        /// Gets or sets the xaml vector.
        /// </summary>
        public String XamlVector { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="XamlVectorAttribute"/> class.
        /// </summary>
        /// <param name="xamlVector">The xaml vector.</param>
        public XamlVectorAttribute(String xamlVector)
        {
            XamlVector = xamlVector;
        }
    }
}