public SyncManager(IDiffBuilder diffBuilder, IFolderDiffProcessor folderDiffProcessor, ISyncInfo syncInfo) { IsNotNull(diffBuilder); IsNotNull(folderDiffProcessor); IsNotNull(syncInfo); _diffBuilder = diffBuilder; _diffBuilder.SourceFileFound += file => SyncInfo.NewSourceFileFound(file); _diffBuilder.DestinationFileFound += file => SyncInfo.NewDestinationFileFound(file); _folderDiffProcessor = folderDiffProcessor; SyncInfo = syncInfo; }
public void Setup() { _syncInfo = new SyncInfo(); }