CommandSetKey - метод
Пространство имён: Tessa.Extensions.Default.Console.SetKeyСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 4.0.4
[VerbAttribute("SetKey")]
[LocalizableDescriptionAttribute("Common_CLI_SetKey")]
public static Task SetKey(
[InputAttribute] TextReader input,
[OutputAttribute] TextWriter stdOut,
[ErrorAttribute] TextWriter stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute("Common_CLI_KeyType")] KeyType key,
[ArgumentAttribute("path")][LocalizableDescriptionAttribute("Common_CLI_KeyFolderOrFile")] string folderOrFile,
[ArgumentAttribute("value")][LocalizableDescriptionAttribute("Common_CLI_KeyValue")] string? value = null,
[ArgumentAttribute("q")][LocalizableDescriptionAttribute("Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute("nologo")][LocalizableDescriptionAttribute("CLI_NoLogo")] bool nologo = false
)
<VerbAttribute("SetKey")>
<LocalizableDescriptionAttribute("Common_CLI_SetKey")>
Public Shared Function SetKey (
<InputAttribute> input As TextReader,
<OutputAttribute> stdOut As TextWriter,
<ErrorAttribute> stdErr As TextWriter,
<ArgumentAttribute><LocalizableDescriptionAttribute("Common_CLI_KeyType")> key As KeyType,
<ArgumentAttribute("path")><LocalizableDescriptionAttribute("Common_CLI_KeyFolderOrFile")> folderOrFile As String,
<ArgumentAttribute("value")><LocalizableDescriptionAttribute("Common_CLI_KeyValue")> Optional value 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"SetKey")]
[LocalizableDescriptionAttribute(L"Common_CLI_SetKey")]
static Task^ SetKey(
[InputAttribute] TextReader^ input,
[OutputAttribute] TextWriter^ stdOut,
[ErrorAttribute] TextWriter^ stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute(L"Common_CLI_KeyType")] KeyType key,
[ArgumentAttribute(L"path")][LocalizableDescriptionAttribute(L"Common_CLI_KeyFolderOrFile")] String^ folderOrFile,
[ArgumentAttribute(L"value")][LocalizableDescriptionAttribute(L"Common_CLI_KeyValue")] String^ value = nullptr,
[ArgumentAttribute(L"q")][LocalizableDescriptionAttribute(L"Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute(L"nologo")][LocalizableDescriptionAttribute(L"CLI_NoLogo")] bool nologo = false
)
[<VerbAttribute("SetKey")>]
[<LocalizableDescriptionAttribute("Common_CLI_SetKey")>]
static member SetKey :
[<InputAttribute>] input : TextReader *
[<OutputAttribute>] stdOut : TextWriter *
[<ErrorAttribute>] stdErr : TextWriter *
[<ArgumentAttribute>][<LocalizableDescriptionAttribute("Common_CLI_KeyType")>] key : KeyType *
[<ArgumentAttribute("path")>][<LocalizableDescriptionAttribute("Common_CLI_KeyFolderOrFile")>] folderOrFile : string *
[<ArgumentAttribute("value")>][<LocalizableDescriptionAttribute("Common_CLI_KeyValue")>] ?value : string *
[<ArgumentAttribute("q")>][<LocalizableDescriptionAttribute("Common_CLI_Quiet")>] ?quiet : bool *
[<ArgumentAttribute("nologo")>][<LocalizableDescriptionAttribute("CLI_NoLogo")>] ?nologo : bool
(* Defaults:
let _value = defaultArg value null
let _quiet = defaultArg quiet false
let _nologo = defaultArg nologo false
*)
-> Task
- input TextReader
-
- stdOut TextWriter
-
- stdErr TextWriter
-
- key KeyType
-
- folderOrFile String
-
- value String (Optional)
-
- quiet Boolean (Optional)
-
- nologo Boolean (Optional)
-
Task