public void StartWatching(IBrowserRefresher refresher) { _refresher = refresher; _watcher = new FileChangeWatcher(_settings.Root, FileSet.Deep("*.*"), this); _watcher.Start(); }
public SampleBuilder(ISampleCache cache, IFileSystem fileSystem, IBrowserRefresher browser, IEnumerable<ISampleScanner> scanners) { _cache = cache; _fileSystem = fileSystem; _browser = browser; _scanners = scanners; }
public SampleBuilder(ISampleCache cache, IBrowserRefresher browser, IEnumerable<ISampleScanner> scanners) { _cache = cache; _browser = browser; scanners.Each(x => { var ext = x.Extension.ToLower(); if (!ext.StartsWith(".")) ext = "." + ext; _scanners[ext] = x; }); }
public SampleBuilder(ISampleCache cache, IBrowserRefresher browser, IEnumerable <ISampleScanner> scanners) { _cache = cache; _browser = browser; scanners.Each(x => { var ext = x.Extension.ToLower(); if (!ext.StartsWith(".")) { ext = "." + ext; } _scanners[ext] = x; }); }
public DocRunEndpoints(DocProject project, IBrowserRefresher refresher) { _project = project; _refresher = refresher; }