public CollectionVM(Guid id, string name)
    {
        Id   = id;
        Name = name;

        _collectionService        = ServiceLocator.GetService <ICollectionService>();
        _destinationFolderService = ServiceLocator.GetService <IDestinationFolderService>();
        _sourceFolderService      = ServiceLocator.GetService <ISourceFolderService>();
    }
示例#2
0
 public FileSystemActualizationService(
     ISourceFolderService sourceFolderService,
     IDestinationFolderService destinationFolderService,
     ICollectionFileService collectionFileService,
     IDbStateService dbStateService,
     IRemoteCommandService remoteCommandService,
     ILogger <FileSystemActualizationService> logger)
 {
     _sourceFolderService      = sourceFolderService;
     _destinationFolderService = destinationFolderService;
     _collectionFileService    = collectionFileService;
     _dbStateService           = dbStateService;
     _remoteCommandService     = remoteCommandService;
     _logger = logger;
 }