aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Core/DI/TangoInjectAttribute.cs
blob: b05a83769ae04ebd5c05d30ddd3b52e847215b0a (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.Core.DI
{
    [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Constructor)]
    public class TangoInjectAttribute : Attribute
    {
        public TangoInjectMode Mode { get; set; }

        public TangoInjectAttribute()
        {

        }

        public TangoInjectAttribute(TangoInjectMode mode)
        {
            Mode = mode;
        }
    }
}