public async Task <ProcessResult> RunAsync(NuGetRestoreArguments arguments, CancellationToken cancelToken = default(CancellationToken)) { var argumentList = arguments.GetArguments().ToArray(); return(await ExecuteAsync(string.Join(" ", argumentList), cancelToken)); }
public ProcessResult Run(NuGetRestoreArguments arguments, CancellationToken cancelToken = default(CancellationToken)) { var argumentList = arguments.GetArguments().ToArray(); return(Execute(string.Join(" ", argumentList), cancelToken)); }