Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SettingsOverrideConfiguration"/> class.
 /// </summary>
 /// <param name="settingsConfiguration">The settings configuration.</param>
 /// <param name="addOverride">The add enricher.</param>
 /// <exception cref="System.ArgumentNullException">
 /// settingsConfiguration
 /// or
 /// addOverride
 /// </exception>
 internal SettingsOverrideConfiguration(
     SettingsConfiguration settingsConfiguration,
     Action <ISettingsOverride> addOverride)
 {
     _settingsConfiguration = settingsConfiguration ?? throw new ArgumentNullException(nameof(settingsConfiguration));
     _addOverride           = addOverride ?? throw new ArgumentNullException(nameof(addOverride));
 }
Exemplo n.º 2
0
 internal SettingsWriterSinkConfiguration(SettingsConfiguration settingsConfiguration, Action <ISettingsWriterSink> addSink) : base(
         settingsConfiguration, addSink)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SettingsSinkConfiguration{T}"/> class.
 /// </summary>
 /// <param name="settingsConfiguration">The settings configuration.</param>
 /// <param name="addSink">The add sink.</param>
 /// <exception cref="System.ArgumentNullException">
 /// settingsConfiguration
 /// or
 /// addSink
 /// </exception>
 internal SettingsSinkConfiguration(SettingsConfiguration settingsConfiguration, Action <TSink> addSink)
 {
     _settingsConfiguration = settingsConfiguration ?? throw new ArgumentNullException(nameof(settingsConfiguration));
     _addSink = addSink ?? throw new ArgumentNullException(nameof(addSink));
 }