1 instantiation of ProcessResult
dotnet-svcutil-lib (1)
Shared\Utilities\ProcessRunner.cs (1)
158
return new
ProcessResult
(proc.ExitCode, outputText);
16 references to ProcessResult
dotnet-svcutil-lib (15)
Bootstrapper\SvcutilBootstrapper.cs (4)
52
internal async Task<ProcessRunner.
ProcessResult
> BoostrapSvcutilAsync(bool keepBootstrapperDir, ILogger logger, CancellationToken cancellationToken)
60
ProcessRunner.
ProcessResult
result = null;
193
var
restoreResult = await this.MSBuildProj.RestoreAsync(logger, cancellationToken).ConfigureAwait(false);
201
var
buildResult = await this.MSBuildProj.BuildAsync(logger, cancellationToken).ConfigureAwait(false);
Shared\MSBuildProj.cs (4)
728
public async Task<ProcessRunner.
ProcessResult
> RestoreAsync(ILogger logger, CancellationToken cancellationToken)
740
var
result = await ProcessRunner.TryRunAsync("dotnet", restoreParams, this.DirectoryPath, logger, cancellationToken).ConfigureAwait(false);
748
public async Task<ProcessRunner.
ProcessResult
> BuildAsync(bool restore, ILogger logger, CancellationToken cancellationToken)
757
public async Task<ProcessRunner.
ProcessResult
> BuildAsync(ILogger logger, CancellationToken cancellationToken)
Shared\ProjectPropertyResolver.cs (1)
123
var
procResult = await ProcessRunner.TryRunAsync("dotnet", "--version", workingDirectory, logger, cancellationToken).ConfigureAwait(false);
Shared\Utilities\ProcessRunner.cs (5)
33
public static async Task<
ProcessResult
> RunAsync(string processName, string processArgs, string currentDir, ILogger logger, CancellationToken cancellationToken)
38
public static async Task<
ProcessResult
> RunAsync(string processName, string processArgs, string currentDir, bool redirectOutput, ILogger logger, CancellationToken cancellationToken)
43
public static async Task<
ProcessResult
> TryRunAsync(string processName, string processArgs, string currentDir, ILogger logger, CancellationToken cancellationToken)
47
public static async Task<
ProcessResult
> RunAsync(string processName, string processArgs, string currentDir, bool redirectOutput, bool throwOnError, ILogger logger, CancellationToken cancellationToken)
53
public static async Task<
ProcessResult
> RunAsync(string processName, string processArgs, string currentDir, bool redirectOutput, bool throwOnError, IDictionary<string, string> environmentVariables, ILogger logger, CancellationToken cancellationToken)
Tool.cs (1)
133
var
bootstrapResult = await bootstrapper.BoostrapSvcutilAsync(options.KeepBootstrapDir, options.Logger, cancellationToken).ConfigureAwait(false);
dotnet-svcutil-lib.Tests (1)
ProjectUtils.cs (1)
72
var
ret = project.RestoreAsync(logger, token).Result;