aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-05-07 15:36:03 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-05-07 15:36:03 +0300
commitcdba3267d2a47b3bff8cf3ec0219223e36e234ff (patch)
tree2826e264827746eccbc1bef9d7f9bcfcb4cffb81 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common
parent453565753c012a087f402fc55eee528c132b7c8c (diff)
downloadTango-cdba3267d2a47b3bff8cf3ec0219223e36e234ff.tar.gz
Tango-cdba3267d2a47b3bff8cf3ec0219223e36e234ff.zip
Added machine studio modules order.
Implemented delayed GetInstance for TangoIOC.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/StudioModuleAttribute.cs19
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Tango.MachineStudio.Common.csproj1
2 files changed, 20 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/StudioModuleAttribute.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/StudioModuleAttribute.cs
new file mode 100644
index 000000000..b9212a9e3
--- /dev/null
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/StudioModuleAttribute.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Tango.MachineStudio.Common
+{
+ [AttributeUsage(AttributeTargets.Class)]
+ public class StudioModuleAttribute : Attribute
+ {
+ public int Index { get; set; }
+
+ public StudioModuleAttribute(int index)
+ {
+ Index = index;
+ }
+ }
+}
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Tango.MachineStudio.Common.csproj b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Tango.MachineStudio.Common.csproj
index ac6f84618..df1ee23dc 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Tango.MachineStudio.Common.csproj
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Tango.MachineStudio.Common.csproj
@@ -109,6 +109,7 @@
<Compile Include="StudioApplication\IStudioApplicationManager.cs" />
<Compile Include="Messages\IStudioMessage.cs" />
<Compile Include="Notifications\TaskItem.cs" />
+ <Compile Include="StudioModuleAttribute.cs" />
<Compile Include="StudioModuleBase.cs" />
<Compile Include="StudioViewModel.cs" />
<Compile Include="Update\CheckForUpdatesResponse.cs" />