Exemplo n.º 1
0
        public ServiceRunner(string directory, params string[] serviceDirectories)
        {
            var target = ".".ToFullPath().Split(Path.DirectorySeparatorChar).Last();
            _directory = ".".ToFullPath()
                .ParentDirectory().ParentDirectory() // project
                .ParentDirectory() // solution
                .AppendPath(directory, "bin", target);

            _checker = new ServiceFileChecker(_directory, serviceDirectories);
        }
Exemplo n.º 2
0
        public ServiceRunner(string directory, params string[] serviceDirectories)
        {
            var target = ".".ToFullPath().Split(Path.DirectorySeparatorChar).Last();

            _directory = ".".ToFullPath()
                         .ParentDirectory().ParentDirectory() // project
                         .ParentDirectory()                   // solution
                         .AppendPath(directory, "bin", target);

            _checker = new ServiceFileChecker(_directory, serviceDirectories);
        }