Exemplo n.º 1
0
        private ProgramScreenCache()
        {
            m_internalScreenCache = InternalScreenCache.GetInstance();
            m_databaseScreenCache = DatabaseScreenCache.GetInstance();

            InitializeProgramScreens();
        }
Exemplo n.º 2
0
        public static InternalScreenCache GetInstance()
        {
            if (m_instance == null)
            {
                m_instance = new InternalScreenCache();
            }

            return(m_instance);
        }
Exemplo n.º 3
0
 /// <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;
 }