Esempio n. 1
0
        public Task Add(string path)
        {
            if (!_fileProvider.Exists(path))
            {
                throw new FileNotFoundException(path);
            }

            var repositoryTask = _eventStore.CreateRepository(path);

            _watcher.Monitor(path);
            return(repositoryTask);
        }