Beispiel #1
0
        private ProgramScreenCache()
        {
            m_internalScreenCache = InternalScreenCache.GetInstance();
            m_databaseScreenCache = DatabaseScreenCache.GetInstance();

            InitializeProgramScreens();
        }
Beispiel #2
0
        public static DatabaseScreenCache GetInstance()
        {
            if (m_instance == null)
            {
                m_instance = new DatabaseScreenCache();
            }

            return(m_instance);
        }
Beispiel #3
0
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 /// <filterpriority>2</filterpriority>
 public void Dispose()
 {
     m_databaseScreenList.Clear();
     m_instance = null;
 }