public PreferencesManager([NotNull] IConfiguration configuration, [NotNull] IPreferencesStore preferencesStore, [NotNull] IWeakCache <string, object> preferencesCache) { _Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); _PreferencesStore = preferencesStore ?? throw new ArgumentNullException(nameof(preferencesStore)); _PreferencesCache = preferencesCache ?? throw new ArgumentNullException(nameof(preferencesCache)); }
public EnvironmentVariableDataProtectionPasswordProvider([NotNull] IWeakCache <string, string> variableNameCache) { _VariableNameCache = variableNameCache ?? throw new ArgumentNullException(nameof(variableNameCache)); }