diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-07 15:36:03 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-07 15:36:03 +0300 |
| commit | cdba3267d2a47b3bff8cf3ec0219223e36e234ff (patch) | |
| tree | 2826e264827746eccbc1bef9d7f9bcfcb4cffb81 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs | |
| parent | 453565753c012a087f402fc55eee528c132b7c8c (diff) | |
| download | Tango-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.UI/Modules/DefaultStudioModuleLoader.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs index 4afddae69..26a789d0f 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Modules/DefaultStudioModuleLoader.cs @@ -125,6 +125,8 @@ namespace Tango.MachineStudio.UI.Modules _loaded = true; } + AllModules = AllModules.OrderBy(x => x.GetType().GetCustomAttribute<StudioModuleAttribute>().Index).ToObservableCollection(); + UserModules.Clear(); if (_authenticationProvider.CurrentUser != null) |
