CommandSendCommand - метод
Пространство имён: Tessa.Extensions.Default.Console.SendCommandСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 4.0.4
[VerbAttribute("SendCommand")]
[LocalizableDescriptionAttribute("Common_CLI_SendCommand")]
public static Task SendCommand(
[OutputAttribute] TextWriter stdOut,
[ErrorAttribute] TextWriter stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute("Common_CLI_DiscoveryCommand")] string command,
[ArgumentAttribute("k")][LocalizableDescriptionAttribute("Common_CLI_KeyPath")] string keyPath,
[ArgumentAttribute("kp")][LocalizableDescriptionAttribute("Common_CLI_KeyPassword")] string? keyPassword = null,
[ArgumentAttribute("s")][LocalizableDescriptionAttribute("Common_CLI_CommandScopes")] string? scopes = null,
[ArgumentAttribute("t")][LocalizableDescriptionAttribute("Common_CLI_Targets")] string? targets = null,
[ArgumentAttribute("timeout")][LocalizableDescriptionAttribute("Common_CLI_CommandTimeout")] double commandTimeoutMinutes = 2,
[ArgumentAttribute("pp")][LocalizableDescriptionAttribute("Common_CLI_CommandParameters")] IEnumerable<string>? parameters = null,
[ArgumentAttribute("nowait")][LocalizableDescriptionAttribute("Common_CLI_NoWait")] bool nowait = false,
[ArgumentAttribute("r")][LocalizableDescriptionAttribute("Common_CLI_RedisConnectionString")] string? redisConnectionString = null,
[ArgumentAttribute("sc")][LocalizableDescriptionAttribute("Common_CLI_ServerCode")] string? serverCode = null,
[ArgumentAttribute("q")][LocalizableDescriptionAttribute("Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute("nologo")][LocalizableDescriptionAttribute("CLI_NoLogo")] bool nologo = false
)
<VerbAttribute("SendCommand")>
<LocalizableDescriptionAttribute("Common_CLI_SendCommand")>
Public Shared Function SendCommand (
<OutputAttribute> stdOut As TextWriter,
<ErrorAttribute> stdErr As TextWriter,
<ArgumentAttribute><LocalizableDescriptionAttribute("Common_CLI_DiscoveryCommand")> command As String,
<ArgumentAttribute("k")><LocalizableDescriptionAttribute("Common_CLI_KeyPath")> keyPath As String,
<ArgumentAttribute("kp")><LocalizableDescriptionAttribute("Common_CLI_KeyPassword")> Optional keyPassword As String = Nothing,
<ArgumentAttribute("s")><LocalizableDescriptionAttribute("Common_CLI_CommandScopes")> Optional scopes As String = Nothing,
<ArgumentAttribute("t")><LocalizableDescriptionAttribute("Common_CLI_Targets")> Optional targets As String = Nothing,
<ArgumentAttribute("timeout")><LocalizableDescriptionAttribute("Common_CLI_CommandTimeout")> Optional commandTimeoutMinutes As Double = 2,
<ArgumentAttribute("pp")><LocalizableDescriptionAttribute("Common_CLI_CommandParameters")> Optional parameters As IEnumerable(Of String) = Nothing,
<ArgumentAttribute("nowait")><LocalizableDescriptionAttribute("Common_CLI_NoWait")> Optional nowait As Boolean = false,
<ArgumentAttribute("r")><LocalizableDescriptionAttribute("Common_CLI_RedisConnectionString")> Optional redisConnectionString As String = Nothing,
<ArgumentAttribute("sc")><LocalizableDescriptionAttribute("Common_CLI_ServerCode")> Optional serverCode 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"SendCommand")]
[LocalizableDescriptionAttribute(L"Common_CLI_SendCommand")]
static Task^ SendCommand(
[OutputAttribute] TextWriter^ stdOut,
[ErrorAttribute] TextWriter^ stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute(L"Common_CLI_DiscoveryCommand")] String^ command,
[ArgumentAttribute(L"k")][LocalizableDescriptionAttribute(L"Common_CLI_KeyPath")] String^ keyPath,
[ArgumentAttribute(L"kp")][LocalizableDescriptionAttribute(L"Common_CLI_KeyPassword")] String^ keyPassword = nullptr,
[ArgumentAttribute(L"s")][LocalizableDescriptionAttribute(L"Common_CLI_CommandScopes")] String^ scopes = nullptr,
[ArgumentAttribute(L"t")][LocalizableDescriptionAttribute(L"Common_CLI_Targets")] String^ targets = nullptr,
[ArgumentAttribute(L"timeout")][LocalizableDescriptionAttribute(L"Common_CLI_CommandTimeout")] double commandTimeoutMinutes = 2,
[ArgumentAttribute(L"pp")][LocalizableDescriptionAttribute(L"Common_CLI_CommandParameters")] IEnumerable<String^>^ parameters = nullptr,
[ArgumentAttribute(L"nowait")][LocalizableDescriptionAttribute(L"Common_CLI_NoWait")] bool nowait = false,
[ArgumentAttribute(L"r")][LocalizableDescriptionAttribute(L"Common_CLI_RedisConnectionString")] String^ redisConnectionString = nullptr,
[ArgumentAttribute(L"sc")][LocalizableDescriptionAttribute(L"Common_CLI_ServerCode")] String^ serverCode = nullptr,
[ArgumentAttribute(L"q")][LocalizableDescriptionAttribute(L"Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute(L"nologo")][LocalizableDescriptionAttribute(L"CLI_NoLogo")] bool nologo = false
)
[<VerbAttribute("SendCommand")>]
[<LocalizableDescriptionAttribute("Common_CLI_SendCommand")>]
static member SendCommand :
[<OutputAttribute>] stdOut : TextWriter *
[<ErrorAttribute>] stdErr : TextWriter *
[<ArgumentAttribute>][<LocalizableDescriptionAttribute("Common_CLI_DiscoveryCommand")>] command : string *
[<ArgumentAttribute("k")>][<LocalizableDescriptionAttribute("Common_CLI_KeyPath")>] keyPath : string *
[<ArgumentAttribute("kp")>][<LocalizableDescriptionAttribute("Common_CLI_KeyPassword")>] ?keyPassword : string *
[<ArgumentAttribute("s")>][<LocalizableDescriptionAttribute("Common_CLI_CommandScopes")>] ?scopes : string *
[<ArgumentAttribute("t")>][<LocalizableDescriptionAttribute("Common_CLI_Targets")>] ?targets : string *
[<ArgumentAttribute("timeout")>][<LocalizableDescriptionAttribute("Common_CLI_CommandTimeout")>] ?commandTimeoutMinutes : float *
[<ArgumentAttribute("pp")>][<LocalizableDescriptionAttribute("Common_CLI_CommandParameters")>] ?parameters : IEnumerable<string> *
[<ArgumentAttribute("nowait")>][<LocalizableDescriptionAttribute("Common_CLI_NoWait")>] ?nowait : bool *
[<ArgumentAttribute("r")>][<LocalizableDescriptionAttribute("Common_CLI_RedisConnectionString")>] ?redisConnectionString : string *
[<ArgumentAttribute("sc")>][<LocalizableDescriptionAttribute("Common_CLI_ServerCode")>] ?serverCode : string *
[<ArgumentAttribute("q")>][<LocalizableDescriptionAttribute("Common_CLI_Quiet")>] ?quiet : bool *
[<ArgumentAttribute("nologo")>][<LocalizableDescriptionAttribute("CLI_NoLogo")>] ?nologo : bool
(* Defaults:
let _keyPassword = defaultArg keyPassword null
let _scopes = defaultArg scopes null
let _targets = defaultArg targets null
let _commandTimeoutMinutes = defaultArg commandTimeoutMinutes 2
let _parameters = defaultArg parameters null
let _nowait = defaultArg nowait false
let _redisConnectionString = defaultArg redisConnectionString null
let _serverCode = defaultArg serverCode null
let _quiet = defaultArg quiet false
let _nologo = defaultArg nologo false
*)
-> Task
- stdOut TextWriter
-
- stdErr TextWriter
-
- command String
-
- keyPath String
-
- keyPassword String (Optional)
-
- scopes String (Optional)
-
- targets String (Optional)
-
- commandTimeoutMinutes Double (Optional)
-
- parameters IEnumerableString (Optional)
-
- nowait Boolean (Optional)
-
- redisConnectionString String (Optional)
-
- serverCode String (Optional)
-
- quiet Boolean (Optional)
-
- nologo Boolean (Optional)
-
Task