Exemplo n.º 1
0
        public BaseObjectManager(Object backingSource, string backingMethodName, InternalBackingType backingSourceType)
        {
            m_fileInfo  = null;
            m_changed   = false;
            m_isMutable = true;
            m_isDynamic = true;

            m_definitionsContainerField = GetMatchingDefinitionsContainerField();

            m_backingObject       = backingSource;
            m_backingSourceMethod = backingMethodName;
            m_backingSourceType   = backingSourceType;

            m_lastLoadTime = DateTime.Now;

            if (m_lastProfilingOutput == null)
            {
                m_lastProfilingOutput = DateTime.Now;
            }
            if (m_staticRefreshCountMap == null)
            {
                m_staticRefreshCountMap = new Dictionary <Type, int>();
            }

            m_refreshInterval = 250;
        }
Exemplo n.º 2
0
        public void SetBackingProperties(Object backingObject, string backingMethod, InternalBackingType backingType)
        {
            m_isDynamic = true;

            m_backingObject       = backingObject;
            m_backingSourceMethod = backingMethod;
            m_backingSourceType   = backingType;
        }
Exemplo n.º 3
0
        public BaseObjectManager()
        {
            m_fileInfo  = null;
            m_changed   = false;
            m_isMutable = true;

            m_definitionsContainerField = GetMatchingDefinitionsContainerField();

            m_backingSourceType = InternalBackingType.Hashset;

            m_lastLoadTime = DateTime.Now;

            if (m_lastProfilingOutput == null)
            {
                m_lastProfilingOutput = DateTime.Now;
            }
            if (m_staticRefreshCountMap == null)
            {
                m_staticRefreshCountMap = new Dictionary <Type, int>();
            }

            m_refreshInterval = 250;
        }