示例#1
0
 protected virtual void Dispose(bool disposing)
 {
     System.Diagnostics.Debug.WriteLineIf(!disposing, "****** Missing Dispose() call for " + GetType().Name + ". ****** ");
     if (disposing)
     {
         m_application?.Dispose();
         m_window?.Dispose();
         m_propertyTable?.Dispose();
     }
 }
示例#2
0
 public void FixtureCleanUp()
 {
     m_application.Dispose();
     if (m_window != null)
     {
         m_window.Dispose();
         m_window = null;
     }
     m_application = null;
     FwRegistrySettings.Release();
 }
示例#3
0
 public void FixtureCleanUp()
 {
     TearDown();
     m_application.Dispose();
     if (m_window != null)
     {
         m_window.Dispose();                 // also disposes mediator
         m_window = null;
     }
     m_application = null;
     FwRegistrySettings.Release();
 }
 protected virtual void Dispose(bool disposing)
 {
     System.Diagnostics.Debug.WriteLineIf(!disposing, "****** Missing Dispose() call for " + GetType().Name + ". ****** ");
     if (disposing)
     {
         if (m_application != null)
         {
             m_application.Dispose();
         }
         if (m_window != null)
         {
             m_window.Dispose();
         }
         if (m_mediator != null)
         {
             m_mediator.Dispose();
         }
     }
 }