diff options
| author | Roy <roy.mail.net@gmail.com> | 2018-02-14 22:52:00 +0200 |
|---|---|---|
| committer | Roy <roy.mail.net@gmail.com> | 2018-02-14 22:52:00 +0200 |
| commit | d5018576f325fb85983c4ad34c169d4b4e8d1a55 (patch) | |
| tree | 57e83d678e2221083b73a5289b506773868e1c63 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/DeveloperModule.cs | |
| parent | b934b152eea671fa06678baa0cdf7f8811e6d2d9 (diff) | |
| parent | b7b277736c7e3ec9258915cdd5a54e7b33ba1123 (diff) | |
| download | Tango-d5018576f325fb85983c4ad34c169d4b4e8d1a55.tar.gz Tango-d5018576f325fb85983c4ad34c169d4b4e8d1a55.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/DeveloperModule.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/DeveloperModule.cs | 54 |
1 files changed, 28 insertions, 26 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/DeveloperModule.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/DeveloperModule.cs index 1a405f861..6cdda4bc8 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/DeveloperModule.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/DeveloperModule.cs @@ -12,41 +12,43 @@ using Tango.SharedUI.Helpers; namespace Tango.MachineStudio.Developer { - public class DeveloperModule : IStudioModule + /// <summary> + /// Represents the Machine Studio developer module. + /// </summary> + /// <seealso cref="Tango.MachineStudio.Common.StudioModuleBase" /> + public class DeveloperModule : StudioModuleBase { - private bool _isInitialized; - private bool _isLoaded; - - public string Name => "Developer"; - - public string Description => "Research and development, manage RML, STRIP and Process."; - - public BitmapSource Image => ResourceHelper.GetImageFromResources("Images/developer.jpg"); - - public FrameworkElement MainView => new MainView(); + /// <summary> + /// Gets the module name. + /// </summary> + public override string Name => "Developer"; - public bool IsInitialized => _isInitialized; + /// <summary> + /// Gets the module description. + /// </summary> + public override string Description => "Research and development, manage RML, STRIP and Process."; /// <summary> - /// Sets a value indicating whether this module is loaded. + /// Gets the module cover image. /// </summary> - public bool IsLoaded { get => _isLoaded; set => _isLoaded = value; } + public override BitmapSource Image => ResourceHelper.GetImageFromResources("Images/developer.jpg"); - public Permissions Permission => Permissions.RunDeveloperModule; + /// <summary> + /// Gets the module entry point view. + /// </summary> + public override FrameworkElement MainView => new MainView(); - public void Dispose() - { - throw new NotImplementedException(); - } + /// <summary> + /// Gets the permission required to see and load this module. + /// </summary> + public override Permissions Permission => Permissions.RunDeveloperModule; - public void Initialize() + /// <summary> + /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + /// </summary> + public override void Dispose() { - if (!_isInitialized) - { - //Initialize.. - - _isInitialized = true; - } + } } } |
