// Constructors public AggregatedDeltaCreationStrategy(IDeltaCreator deltaCreator, IDeltaPatcher deltaPatcher, IArchiveManager archiveManager, ISignatureCreator signatureCreator) { _deltaCreator = deltaCreator; _deltaPatcher = deltaPatcher; _archiveManager = archiveManager; _signatureCreator = signatureCreator; }
// Constructors public FileRestore(IArchiveManager archiveManager, IDeltaPatcher deltaPatcher, ISignatureCreator signatureCreator, IDeltaCreator deltaCreator, IFileHandlingStrategySelector fileHandlingStrategySelectors) { _deltaCreator = deltaCreator; _signatureCreator = signatureCreator; _fileHandlingStrategySelector = fileHandlingStrategySelectors; _archiveManager = archiveManager; _deltaPatcher = deltaPatcher; }
public RequestSignerFactory( ISigningSettingsSanitizer signingSettingsSanitizer, ISignatureCreator signatureCreator, IAuthorizationHeaderParamCreator authorizationHeaderParamCreator, ISignatureHeaderEnsurer signatureHeaderEnsurer, ISystemClock systemClock, IRegisteredSignerSettingsStore registeredSignerSettingsStore, ILogger <RequestSigner> logger = null) { _signingSettingsSanitizer = signingSettingsSanitizer ?? throw new ArgumentNullException(nameof(signingSettingsSanitizer)); _signatureCreator = signatureCreator ?? throw new ArgumentNullException(nameof(signatureCreator)); _authorizationHeaderParamCreator = authorizationHeaderParamCreator ?? throw new ArgumentNullException(nameof(authorizationHeaderParamCreator)); _signatureHeaderEnsurer = signatureHeaderEnsurer ?? throw new ArgumentNullException(nameof(signatureHeaderEnsurer)); _logger = logger; _registeredSignerSettingsStore = registeredSignerSettingsStore ?? throw new ArgumentNullException(nameof(registeredSignerSettingsStore)); _systemClock = systemClock ?? throw new ArgumentNullException(nameof(systemClock)); }
public RequestSigner( ISigningSettingsSanitizer signingSettingsSanitizer, ISignatureCreator signatureCreator, IAuthorizationHeaderParamCreator authorizationHeaderParamCreator, SigningSettings signingSettings, ISignatureHeaderEnsurer signatureHeaderEnsurer, ISystemClock systemClock, ILogger <RequestSigner> logger = null) { _signingSettingsSanitizer = signingSettingsSanitizer ?? throw new ArgumentNullException(nameof(signingSettingsSanitizer)); _signatureCreator = signatureCreator ?? throw new ArgumentNullException(nameof(signatureCreator)); _authorizationHeaderParamCreator = authorizationHeaderParamCreator ?? throw new ArgumentNullException(nameof(authorizationHeaderParamCreator)); _signingSettings = signingSettings ?? throw new ArgumentNullException(nameof(signingSettings)); _signatureHeaderEnsurer = signatureHeaderEnsurer ?? throw new ArgumentNullException(nameof(signatureHeaderEnsurer)); _systemClock = systemClock ?? throw new ArgumentNullException(nameof(systemClock)); _logger = logger; }
// Constructors public FirstDeltaCreationStrategy(IDeltaCreator deltaCreator, IArchiveManager archiveManager, ISignatureCreator signatureCreator) { _deltaCreator = deltaCreator; _archiveManager = archiveManager; _signatureCreator = signatureCreator; }
// Constructors public EmptyLogFileHandlingStrategy(IArchiveManager archiveManager, ISignatureCreator signatureCreator) { _archiveManager = archiveManager; _signatureCreator = signatureCreator; }