private ProgramScreenCache() { m_internalScreenCache = InternalScreenCache.GetInstance(); m_databaseScreenCache = DatabaseScreenCache.GetInstance(); InitializeProgramScreens(); }
public static InternalScreenCache GetInstance() { if (m_instance == null) { m_instance = new InternalScreenCache(); } return(m_instance); }
/// <summary> /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. /// </summary> /// <filterpriority>2</filterpriority> public void Dispose() { m_internalScreenList.Clear(); m_instance = null; }