From bf2bc8f2b1ad463bac3e4354b842a87c2e7b13eb Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 14 Jan 2018 17:23:12 +0200 Subject: Added code comments for: MachineStudio.Synchronization --- .../SynchronizationModule.cs | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Synchronization/SynchronizationModule.cs') diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Synchronization/SynchronizationModule.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Synchronization/SynchronizationModule.cs index 039b9faf6..f6381a482 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Synchronization/SynchronizationModule.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Synchronization/SynchronizationModule.cs @@ -12,27 +12,58 @@ using Tango.SharedUI.Helpers; namespace Tango.MachineStudio.Synchronization { + /// + /// Represents a Machine Studio module capable of comparing and synchronizing machines data against Twine remote database. + /// + /// public class SynchronizationModule : IStudioModule { + /// + /// The is initialized + /// private bool _isInitialized; + /// + /// Gets the module name. + /// public string Name => "Synchronization"; + /// + /// Gets the module description. + /// public string Description => "Perform local to local or remote to local database synchronization."; + /// + /// Gets the module cover image. + /// public BitmapSource Image => ResourceHelper.GetImageFromResources("Images/synchronization.jpg"); + /// + /// Gets the module entry point view. + /// public FrameworkElement MainView => new MainView(); + /// + /// Gets a value indicating whether this module has been initialized. + /// public bool IsInitialized => _isInitialized; + /// + /// Gets the permission required to see and load this module. + /// public Permissions Permission => Permissions.RunSynchronizationModule; + /// + /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + /// public void Dispose() { //Dispose... } + /// + /// Perform any operations required to initialize this module. + /// public void Initialize() { if (!_isInitialized) -- cgit v1.3.1