Пространство имён:
Tessa.Extensions.Default.Console.SetKey
Сборка:
Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 3.5.0.19
Синтаксис [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
- Тип: System.IOTextReader
- stdOut
- Тип: System.IOTextWriter
- stdErr
- Тип: System.IOTextWriter
- key
- Тип: Tessa.Extensions.Default.Console.GetKeyKeyType
- folderOrFile
- Тип: SystemString
- value (Optional)
- Тип: SystemString
- quiet (Optional)
- Тип: SystemBoolean
- nologo (Optional)
- Тип: SystemBoolean
Возвращаемое значение
Тип:
TaskСм. также