示例#1
0
        public async Task <ProcessResult> RunAsync(NuGetPackArguments arguments, CancellationToken cancelToken = default(CancellationToken))
        {
            var argumentList = arguments.GetArguments().ToArray();

            return(await ExecuteAsync(string.Join(" ", argumentList), cancelToken));
        }
示例#2
0
        public ProcessResult Run(NuGetPackArguments arguments, CancellationToken cancelToken = default(CancellationToken))
        {
            var argumentList = arguments.GetArguments().ToArray();

            return(Execute(string.Join(" ", argumentList), cancelToken));
        }