// Constructors

        public AggregatedDeltaCreationStrategy(IDeltaCreator deltaCreator, IDeltaPatcher deltaPatcher, IArchiveManager archiveManager, ISignatureCreator signatureCreator)
        {
            _deltaCreator     = deltaCreator;
            _deltaPatcher     = deltaPatcher;
            _archiveManager   = archiveManager;
            _signatureCreator = signatureCreator;
        }
Example #2
0
        // Constructors

        public FileRestore(IArchiveManager archiveManager,
                           IDeltaPatcher deltaPatcher,
                           ISignatureCreator signatureCreator,
                           IDeltaCreator deltaCreator,
                           IFileHandlingStrategySelector fileHandlingStrategySelectors)
        {
            _deltaCreator                 = deltaCreator;
            _signatureCreator             = signatureCreator;
            _fileHandlingStrategySelector = fileHandlingStrategySelectors;
            _archiveManager               = archiveManager;
            _deltaPatcher                 = deltaPatcher;
        }
Example #3
0
        // Constructors

        public FirstDeltaCreationStrategy(IDeltaCreator deltaCreator, IArchiveManager archiveManager, ISignatureCreator signatureCreator)
        {
            _deltaCreator     = deltaCreator;
            _archiveManager   = archiveManager;
            _signatureCreator = signatureCreator;
        }