public void Init(elogprofile logprofile) { if (m_Logs == null) { m_Logs = new ListDictionary(); } if (m_Logs.Contains(Convert.ToString(logprofile))) { return; } m_LogMethods = new LogMethods(); m_Logs.Add(Convert.ToString(logprofile), m_LogMethods); Profile = logprofile; if (m_Logs.Count > 1 | logprofile != elogprofile.primary) { //Once there are more than just the primary log profile then the properties //can no longer default to just the primary profile. m_DefaultToPrimaryProfile = false; } }
public void Init(elogprofile logprofile) { if (m_Logs == null) { m_Logs = new ListDictionary(); } if (m_Logs.Contains(Convert.ToString(logprofile))) { return; } m_LogMethods = new LogMethods(); m_Logs.Add(Convert.ToString(logprofile),m_LogMethods); Profile = logprofile; if (m_Logs.Count > 1 | logprofile != elogprofile.primary) { //Once there are more than just the primary log profile then the properties //can no longer default to just the primary profile. m_DefaultToPrimaryProfile = false; } }