aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Logging/SimpleStringLogger.cs
blob: 5d9b12d816f76e48e0610fa82d94b9ad6124d177 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
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;
        }
    }
}