public void LoadSettings(bool includeServiceComponents) { LoadSettings(); if (!includeServiceComponents) return; IPersistSettings typedComponent; lock (m_serviceComponents) { foreach (object component in m_serviceComponents) { typedComponent = component as IPersistSettings; if ((object)typedComponent != null) typedComponent.LoadSettings(); } } }