aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration/ExternalBridge/ExternalBridgeRequestHandlerMethodAttribute.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-02-27 23:49:32 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-02-27 23:49:32 +0200
commit5f45be5bae69be7b7e916f02fb6d69b2db60e529 (patch)
tree9aff84020b5eca21df7bf0a7b5439e073969cec1 /Software/Visual_Studio/Tango.Integration/ExternalBridge/ExternalBridgeRequestHandlerMethodAttribute.cs
parent03970962af1bfbfc5c13109c3f0a465cf9a1dc29 (diff)
downloadTango-5f45be5bae69be7b7e916f02fb6d69b2db60e529.tar.gz
Tango-5f45be5bae69be7b7e916f02fb6d69b2db60e529.zip
Implemented Generic messages support!
Implemented custom external bridge request handlers.
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/ExternalBridge/ExternalBridgeRequestHandlerMethodAttribute.cs')
-rw-r--r--Software/Visual_Studio/Tango.Integration/ExternalBridge/ExternalBridgeRequestHandlerMethodAttribute.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/ExternalBridge/ExternalBridgeRequestHandlerMethodAttribute.cs b/Software/Visual_Studio/Tango.Integration/ExternalBridge/ExternalBridgeRequestHandlerMethodAttribute.cs
new file mode 100644
index 000000000..c326c7dd7
--- /dev/null
+++ b/Software/Visual_Studio/Tango.Integration/ExternalBridge/ExternalBridgeRequestHandlerMethodAttribute.cs
@@ -0,0 +1,20 @@
+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 ExternalBridgeRequestHandlerMethodAttribute(Type type)
+ {
+ Type = type;
+ }
+ }
+}