src/NFX/ApplicationModel/TestApplication.cs
/// <summary>
/// Registers an instance of IConfigSettings with application container to receive a call when
///  underlying app configuration changes
/// </summary>
Registers an instance of IConfigSettings with application container to receive a call when
underlying app configuration changes
Registers an instance of IConfigSettings with application container to receive a call when underlying app configuration changes
public virtual bool RegisterConfigSettings(IConfigSettings settings)
        {
            lock (m_ConfigSettings)
                if (!m_ConfigSettings.Contains(settings, ReferenceEqualityComparer<IConfigSettings>.Instance))
                {
                    m_ConfigSettings.Add(settings);
                    return true;
                }
            return false;
        }
public virtual bool RegisterConfigSettings ( IConfigSettings settings ) { lock ( m_ConfigSettings ) if ( ! m_ConfigSettings . Contains ( settings , ReferenceEqualityComparer < IConfigSettings > . Instance ) ) { m_ConfigSettings . Add ( settings ) ; return true ; } return false ; }
Registers an instance of IConfigSettings with application container to receive a call when
underlying app configuration changes
Registers an instance of IConfigSettings with application container to receive a call when underlying app configuration changes
settings
IConfigSettings