NodeAssets.Core.Commands.NodeExecutor.NodeExecutor C# (CSharp) 메소드

NodeExecutor() 공개 메소드

public NodeExecutor ( string nodeWorkspace, string nodeExePath = null ) : NodeAssets.Compilers
nodeWorkspace string
nodeExePath string
리턴 NodeAssets.Compilers
        public NodeExecutor(string nodeWorkspace, string nodeExePath = null)
        {
            // Allow for a null workspace
            if (!string.IsNullOrEmpty(nodeWorkspace))
            {
                _workspace = new DirectoryInfo(nodeWorkspace);
            }

            _nodeExePath = nodeExePath ?? "node.exe";
        }