Exemplo n.º 1
0
 public DependencyResolutionSettingsOption(IDependencyResolutionSettings settings)
 {
     settings.EnsureNotNull(nameof(settings)).EnsureReadOnly().EnsureNotDisabled().EnsureValid();
     //
     _settings = settings;
 }
Exemplo n.º 2
0
 public DependencyResolutionSettings(IDependencyResolutionSettings other, bool isReadOnly = false)
     : this(usageCountLimitPerHandler : other.EnsureNotNull(nameof(other)).Value.UsageCountLimitPerHandler, isAdvancedLoggingEnabled : other.IsAdvancedLoggingEnabled, isReadOnly : isReadOnly)
 {
 }