CommandConvertConfiguration - метод |
Пространство имён:
Tessa.Extensions.Default.Console.ConvertConfiguration
Сборка:
Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 3.5.0.19
Синтаксис [VerbAttribute("ConvertConfiguration")]
[LocalizableDescriptionAttribute("Common_CLI_ConvertConfiguration")]
public static Task ConvertConfiguration(
[OutputAttribute] TextWriter stdOut,
[ErrorAttribute] TextWriter stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute("Common_CLI_SourceConfiguration")] string source,
[ArgumentAttribute("mode")][LocalizableDescriptionAttribute("Common_CLI_ConfigurationConversionMode")] ConversionMode conversionMode = ConversionMode.Upgrade,
[ArgumentAttribute("q")][LocalizableDescriptionAttribute("Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute("nologo")][LocalizableDescriptionAttribute("CLI_NoLogo")] bool nologo = false
)
<VerbAttribute("ConvertConfiguration")>
<LocalizableDescriptionAttribute("Common_CLI_ConvertConfiguration")>
Public Shared Function ConvertConfiguration (
<OutputAttribute> stdOut As TextWriter,
<ErrorAttribute> stdErr As TextWriter,
<ArgumentAttribute><LocalizableDescriptionAttribute("Common_CLI_SourceConfiguration")> source As String,
<ArgumentAttribute("mode")><LocalizableDescriptionAttribute("Common_CLI_ConfigurationConversionMode")> Optional conversionMode As ConversionMode = ConversionMode.Upgrade,
<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"ConvertConfiguration")]
[LocalizableDescriptionAttribute(L"Common_CLI_ConvertConfiguration")]
static Task^ ConvertConfiguration(
[OutputAttribute] TextWriter^ stdOut,
[ErrorAttribute] TextWriter^ stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute(L"Common_CLI_SourceConfiguration")] String^ source,
[ArgumentAttribute(L"mode")][LocalizableDescriptionAttribute(L"Common_CLI_ConfigurationConversionMode")] ConversionMode conversionMode = ConversionMode::Upgrade,
[ArgumentAttribute(L"q")][LocalizableDescriptionAttribute(L"Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute(L"nologo")][LocalizableDescriptionAttribute(L"CLI_NoLogo")] bool nologo = false
)
[<VerbAttribute("ConvertConfiguration")>]
[<LocalizableDescriptionAttribute("Common_CLI_ConvertConfiguration")>]
static member ConvertConfiguration :
[<OutputAttribute>] stdOut : TextWriter *
[<ErrorAttribute>] stdErr : TextWriter *
[<ArgumentAttribute>][<LocalizableDescriptionAttribute("Common_CLI_SourceConfiguration")>] source : string *
[<ArgumentAttribute("mode")>][<LocalizableDescriptionAttribute("Common_CLI_ConfigurationConversionMode")>] ?conversionMode : ConversionMode *
[<ArgumentAttribute("q")>][<LocalizableDescriptionAttribute("Common_CLI_Quiet")>] ?quiet : bool *
[<ArgumentAttribute("nologo")>][<LocalizableDescriptionAttribute("CLI_NoLogo")>] ?nologo : bool
(* Defaults:
let _conversionMode = defaultArg conversionMode ConversionMode.Upgrade
let _quiet = defaultArg quiet false
let _nologo = defaultArg nologo false
*)
-> Task
Параметры
- stdOut
- Тип: System.IOTextWriter
- stdErr
- Тип: System.IOTextWriter
- source
- Тип: SystemString
- conversionMode (Optional)
- Тип: Tessa.Extensions.Default.Console.ConvertConfigurationConversionMode
- quiet (Optional)
- Тип: SystemBoolean
- nologo (Optional)
- Тип: SystemBoolean
Возвращаемое значение
Тип:
TaskСм. также