/// <summary> /// Initialize watcher service /// </summary> /// <param name="storageService">Storage instance</param> /// <param name="structureService">Structure service</param> public SyncStorageWatcherService(ISyncStorageService storageService, IFileStructureService structureService, ISyncStorageHashService storageHashService) { this.storageService = storageService; this.structureService = structureService; this.storageHashService = storageHashService; this.tempQueue = new List <SyncQueueEntry>(); }
public SyncStorageHashService(ISyncStorageService storageService) { this.storageService = storageService; hashs = new Dictionary <string, string>(StringComparer.InvariantCultureIgnoreCase); }