public CrawlerProto(string url, string fileLocation, NodeCache nodesCache, EdgeCache edgesCache, ResourceCache resourceCache) { FileLocation = fileLocation; Url = url; NodesCache = nodesCache; EdgesCache = edgesCache; ResourceCache = resourceCache; }
public ControlService() { _logger = new ConsoleLogger (); _uniqueIdProvider = new IntUniqueIdProvider (); _dataDirectory = Properties.Settings.Default.DataDirectory; _nodes = new NodeCache (); _edges = new EdgeCache (); _resources = new ResourceCache (); EdgesFilename = Properties.Settings.Default.EdgesFilename; NodesFilename = Properties.Settings.Default.NodesFilename; ResourcesTableFilename = Properties.Settings.Default.ResourcesTableFilename; ResourcesFolder = Properties.Settings.Default.ResourcesFolder; ClientCodeFolder = Properties.Settings.Default.ClientCodeFolder; Load (); }