/
githubmirror
/
PowerShell
Обзор
Документация
Войти
/
githubmirror
/
PowerShell
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/Microsoft.PowerShell.Commands.Utility/commands/utility/GetHostCmdlet.cs
24 строки
700 B
xtqqczze
Remove unnecessary usings part 4 (#14023)
16 ноя 2020, 17:54
Не верифицирован
16 ноя 2020, 17:54
fcd9e37
Код
Авторство
О чём код?
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Management.Automation; namespace Microsoft.PowerShell.Commands { /// <summary> /// Writes the PSHost object to the success stream. /// </summary> [Cmdlet(VerbsCommon.Get, "Host", HelpUri = "https://go.microsoft.com/fwlink/?LinkID=2097110", RemotingCapability = RemotingCapability.None)] [OutputType(typeof(System.Management.Automation.Host.PSHost))] public class GetHostCommand : PSCmdlet { /// <summary> /// See base class. /// </summary> protected override void BeginProcessing() { WriteObject(this.Host); } } }