aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration/ExternalBridge/ExternalBridgeRequestHandlerMethodAttribute.cs
blob: 7ddedb0b9b661250bb3e187056aa08ba837e82ff (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.PMR.Common;

namespace Tango.Integration.ExternalBridge
{
    [AttributeUsage(AttributeTargets.Method)]
    public class ExternalBridgeRequestHandlerMethodAttribute : Attribute
    {
        public Type Type { get; set; }

        public RequestHandlerLoggingMode LoggingMode { get; set; }

        public ExternalBridgeRequestHandlerMethodAttribute(Type type)
        {
            Type = type;
        }

        public ExternalBridgeRequestHandlerMethodAttribute(Type type, RequestHandlerLoggingMode loggingMode) : this(type)
        {
            LoggingMode = loggingMode;
        }
    }
}