diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2018-08-28 18:48:03 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2018-08-28 18:48:03 +0300 |
| commit | 323a408ed2059dbaa86150967544e82433b3d04e (patch) | |
| tree | ec13b2e7fd805017b434701674df6b75b6ea76c3 /Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs | |
| parent | 952e9ccbb94aabd0c3d0857f6d454d90e1afcf91 (diff) | |
| parent | 33a2d098936cad4e7a8ca0c16187023a78fc4e43 (diff) | |
| download | Tango-323a408ed2059dbaa86150967544e82433b3d04e.tar.gz Tango-323a408ed2059dbaa86150967544e82433b3d04e.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs index 45428f542..316236626 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs @@ -17,13 +17,6 @@ namespace Tango.PPC.Common /// <seealso cref="Tango.MachineStudio.Common.IStudioModule" /> public abstract class PPCModuleBase : ExtendedObject, IPPCModule { - private bool _isInitialized; - - /// <summary> - /// Occurs when the module has been initialized. - /// </summary> - public event EventHandler Initialized; - /// <summary> /// Gets the module name. /// </summary> @@ -50,43 +43,8 @@ namespace Tango.PPC.Common public abstract Permissions Permission { get; } /// <summary> - /// Gets a value indicating whether this module has been initialized. - /// </summary> - public bool IsInitialized - { - get - { - return _isInitialized; - } - private set - { - _isInitialized = value; - } - } - - /// <summary> /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. /// </summary> public abstract void Dispose(); - - /// <summary> - /// Perform any operations required to initialize this module. - /// </summary> - public void Initialize() - { - if (!IsInitialized) - { - OnInitialized(); - IsInitialized = true; - } - } - - /// <summary> - /// Called when machine studio initializes this module. - /// </summary> - protected virtual void OnInitialized() - { - Initialized?.Invoke(this, new EventArgs()); - } } } |
