aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs
index 168df019a..4e200ada6 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LayoutViewVM.cs
@@ -11,22 +11,40 @@ using Tango.SharedUI;
namespace Tango.PPC.UI.ViewModels
{
+ /// <summary>
+ /// Represents the layout view containing the main menu and all modules.
+ /// </summary>
+ /// <seealso cref="Tango.PPC.Common.PPCViewModel{Tango.PPC.UI.ViewsContracts.ILayoutView}" />
public class LayoutViewVM : PPCViewModel<ILayoutView>
{
+ /// <summary>
+ /// Gets or sets the module loader.
+ /// </summary>
[TangoInject]
public IPPCModuleLoader ModuleLoader { get; set; }
+ /// <summary>
+ /// Called when the application has been started.
+ /// </summary>
public override void OnApplicationStarted()
{
base.OnApplicationStarted();
ModuleLoader.ModulesLoaded += ModuleLoader_ModulesLoaded;
}
+ /// <summary>
+ /// Handles the ModulesLoaded event of the ModuleLoader.
+ /// </summary>
+ /// <param name="sender">The source of the event.</param>
+ /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
private void ModuleLoader_ModulesLoaded(object sender, EventArgs e)
{
View.ApplyModules(ModuleLoader.UserModules);
}
+ /// <summary>
+ /// Called when the instance of IPPCView is available.
+ /// </summary>
public override void OnViewAttached()
{