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; }
public void SetBackingProperties(Object backingObject, string backingMethod, InternalBackingType backingType) { m_isDynamic = true; m_backingObject = backingObject; m_backingSourceMethod = backingMethod; m_backingSourceType = backingType; }
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; }