/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/ProjectTemplates/Shared/ProcessResult.cs
25 строк
650 B
Brennan
Add rule to seal internal and private types (#41457)
05 май 2022, 19:26
Не верифицирован
05 май 2022, 19:26
3ea008c
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Internal; namespace Templates.Test.Helpers; internal sealed class ProcessResult { public ProcessResult(ProcessEx process) { Process = process.Process.StartInfo.FileName + " " + process.Process.StartInfo.Arguments; ExitCode = process.ExitCode; Output = process.Output; Error = process.Error; } public string Process { get; } public int ExitCode { get; set; } public string Error { get; } public string Output { get; } }