public PathScanner(string scanSitePath, IDiscoverAssembliesThatHaveInstallers assemblyDiscoverer, ILoadAnAssembly assemblyLoader) { _scanSitePath = scanSitePath; _assemblyDiscoverer = assemblyDiscoverer; _assemblyLoader = assemblyLoader; Path = System.IO.Path.Combine(scanSitePath, "bin"); }
public void SetUp() { _siteScanPath = "c:\\some\\directory"; _loader = new Mock<ILoadAnAssembly>(); _assemblyEnumerator = new Mock<IEnumerateAssemblies>(); _discoverer = new DiscoverAssembliesThatHaveInstallers(_loader.Object, _assemblyEnumerator.Object); }
public PathScanner(string scanSitePath, Dictionary<string, string> args, IDiscoverAssembliesThatHaveInstallers assemblyDiscoverer, ILoadAnAssembly assemblyLoader) { _scanSitePath = scanSitePath; _args = args; _assemblyDiscoverer = assemblyDiscoverer; _assemblyLoader = assemblyLoader; Path = System.IO.Path.Combine(scanSitePath, "bin"); }