CommandCheck - метод
Пространство имён: Tessa.Extensions.Default.Console.CheckCommandСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 4.0.4
[VerbAttribute("Check")]
[LocalizableDescriptionAttribute("Common_CLI_Check")]
public static Task Check(
[OutputAttribute] TextWriter stdOut,
[ErrorAttribute] TextWriter stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute("Common_CLI_Address")] string? address = null,
[ArgumentAttribute("h")][LocalizableDescriptionAttribute("Common_CLI_Check_Health")] bool checkHealth = false,
[ArgumentAttribute("timeout")][LocalizableDescriptionAttribute("Common_CLI_ConnectTimeout")] int seconds = 0,
[ArgumentAttribute("i")][LocalizableDescriptionAttribute("Common_CLI_Instance")] string? instanceName = null,
[ArgumentAttribute("q")][LocalizableDescriptionAttribute("Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute("nologo")][LocalizableDescriptionAttribute("CLI_NoLogo")] bool nologo = false
)
<VerbAttribute("Check")>
<LocalizableDescriptionAttribute("Common_CLI_Check")>
Public Shared Function Check (
<OutputAttribute> stdOut As TextWriter,
<ErrorAttribute> stdErr As TextWriter,
<ArgumentAttribute><LocalizableDescriptionAttribute("Common_CLI_Address")> Optional address As String = Nothing,
<ArgumentAttribute("h")><LocalizableDescriptionAttribute("Common_CLI_Check_Health")> Optional checkHealth As Boolean = false,
<ArgumentAttribute("timeout")><LocalizableDescriptionAttribute("Common_CLI_ConnectTimeout")> Optional seconds As Integer = 0,
<ArgumentAttribute("i")><LocalizableDescriptionAttribute("Common_CLI_Instance")> Optional instanceName As String = Nothing,
<ArgumentAttribute("q")><LocalizableDescriptionAttribute("Common_CLI_Quiet")> Optional quiet As Boolean = false,
<ArgumentAttribute("nologo")><LocalizableDescriptionAttribute("CLI_NoLogo")> Optional nologo As Boolean = false
) As Task
public:
[VerbAttribute(L"Check")]
[LocalizableDescriptionAttribute(L"Common_CLI_Check")]
static Task^ Check(
[OutputAttribute] TextWriter^ stdOut,
[ErrorAttribute] TextWriter^ stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute(L"Common_CLI_Address")] String^ address = nullptr,
[ArgumentAttribute(L"h")][LocalizableDescriptionAttribute(L"Common_CLI_Check_Health")] bool checkHealth = false,
[ArgumentAttribute(L"timeout")][LocalizableDescriptionAttribute(L"Common_CLI_ConnectTimeout")] int seconds = 0,
[ArgumentAttribute(L"i")][LocalizableDescriptionAttribute(L"Common_CLI_Instance")] String^ instanceName = nullptr,
[ArgumentAttribute(L"q")][LocalizableDescriptionAttribute(L"Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute(L"nologo")][LocalizableDescriptionAttribute(L"CLI_NoLogo")] bool nologo = false
)
[<VerbAttribute("Check")>]
[<LocalizableDescriptionAttribute("Common_CLI_Check")>]
static member Check :
[<OutputAttribute>] stdOut : TextWriter *
[<ErrorAttribute>] stdErr : TextWriter *
[<ArgumentAttribute>][<LocalizableDescriptionAttribute("Common_CLI_Address")>] ?address : string *
[<ArgumentAttribute("h")>][<LocalizableDescriptionAttribute("Common_CLI_Check_Health")>] ?checkHealth : bool *
[<ArgumentAttribute("timeout")>][<LocalizableDescriptionAttribute("Common_CLI_ConnectTimeout")>] ?seconds : int *
[<ArgumentAttribute("i")>][<LocalizableDescriptionAttribute("Common_CLI_Instance")>] ?instanceName : string *
[<ArgumentAttribute("q")>][<LocalizableDescriptionAttribute("Common_CLI_Quiet")>] ?quiet : bool *
[<ArgumentAttribute("nologo")>][<LocalizableDescriptionAttribute("CLI_NoLogo")>] ?nologo : bool
(* Defaults:
let _address = defaultArg address null
let _checkHealth = defaultArg checkHealth false
let _seconds = defaultArg seconds 0
let _instanceName = defaultArg instanceName null
let _quiet = defaultArg quiet false
let _nologo = defaultArg nologo false
*)
-> Task
- stdOut TextWriter
-
- stdErr TextWriter
-
- address String (Optional)
-
- checkHealth Boolean (Optional)
-
- seconds Int32 (Optional)
-
- instanceName String (Optional)
-
- quiet Boolean (Optional)
-
- nologo Boolean (Optional)
-
Task