CommandPrintJson - метод
Пространство имён: Tessa.Extensions.Default.Console.PrintJsonСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 4.0.4
[VerbAttribute("PrintJson")]
[LocalizableDescriptionAttribute("Common_CLI_PrintJson")]
public static Task PrintJson(
[OutputAttribute] TextWriter stdOut,
[ErrorAttribute] TextWriter stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute("Common_CLI_FilePath")] string filePath,
[ArgumentAttribute("m")][LocalizableDescriptionAttribute("Common_CLI_PrintJsonMode")] PrintJsonMode mode = PrintJsonMode.Config,
[ArgumentAttribute("i")][LocalizableDescriptionAttribute("Common_CLI_Indented")] bool indented = false,
[ArgumentAttribute("q")][LocalizableDescriptionAttribute("Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute("nologo")][LocalizableDescriptionAttribute("CLI_NoLogo")] bool nologo = false
)
<VerbAttribute("PrintJson")>
<LocalizableDescriptionAttribute("Common_CLI_PrintJson")>
Public Shared Function PrintJson (
<OutputAttribute> stdOut As TextWriter,
<ErrorAttribute> stdErr As TextWriter,
<ArgumentAttribute><LocalizableDescriptionAttribute("Common_CLI_FilePath")> filePath As String,
<ArgumentAttribute("m")><LocalizableDescriptionAttribute("Common_CLI_PrintJsonMode")> Optional mode As PrintJsonMode = PrintJsonMode.Config,
<ArgumentAttribute("i")><LocalizableDescriptionAttribute("Common_CLI_Indented")> Optional indented As Boolean = false,
<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"PrintJson")]
[LocalizableDescriptionAttribute(L"Common_CLI_PrintJson")]
static Task^ PrintJson(
[OutputAttribute] TextWriter^ stdOut,
[ErrorAttribute] TextWriter^ stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute(L"Common_CLI_FilePath")] String^ filePath,
[ArgumentAttribute(L"m")][LocalizableDescriptionAttribute(L"Common_CLI_PrintJsonMode")] PrintJsonMode mode = PrintJsonMode::Config,
[ArgumentAttribute(L"i")][LocalizableDescriptionAttribute(L"Common_CLI_Indented")] bool indented = false,
[ArgumentAttribute(L"q")][LocalizableDescriptionAttribute(L"Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute(L"nologo")][LocalizableDescriptionAttribute(L"CLI_NoLogo")] bool nologo = false
)
[<VerbAttribute("PrintJson")>]
[<LocalizableDescriptionAttribute("Common_CLI_PrintJson")>]
static member PrintJson :
[<OutputAttribute>] stdOut : TextWriter *
[<ErrorAttribute>] stdErr : TextWriter *
[<ArgumentAttribute>][<LocalizableDescriptionAttribute("Common_CLI_FilePath")>] filePath : string *
[<ArgumentAttribute("m")>][<LocalizableDescriptionAttribute("Common_CLI_PrintJsonMode")>] ?mode : PrintJsonMode *
[<ArgumentAttribute("i")>][<LocalizableDescriptionAttribute("Common_CLI_Indented")>] ?indented : bool *
[<ArgumentAttribute("q")>][<LocalizableDescriptionAttribute("Common_CLI_Quiet")>] ?quiet : bool *
[<ArgumentAttribute("nologo")>][<LocalizableDescriptionAttribute("CLI_NoLogo")>] ?nologo : bool
(* Defaults:
let _mode = defaultArg mode PrintJsonMode.Config
let _indented = defaultArg indented false
let _quiet = defaultArg quiet false
let _nologo = defaultArg nologo false
*)
-> Task
- stdOut TextWriter
-
- stdErr TextWriter
-
- filePath String
-
- mode PrintJsonMode (Optional)
-
- indented Boolean (Optional)
-
- quiet Boolean (Optional)
-
- nologo Boolean (Optional)
-
Task