CommandConvertConfiguration - метод
Пространство имён: Tessa.Extensions.Default.Console.ConvertConfigurationСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 3.6.0.22
[VerbAttribute("ConvertConfiguration")]
[LocalizableDescriptionAttribute("Common_CLI_ConvertConfiguration")]
public static Task ConvertConfiguration(
[OutputAttribute] TextWriter stdOut,
[ErrorAttribute] TextWriter stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute("Common_CLI_SourceConfiguration")] string source,
[ArgumentAttribute("o")][LocalizableDescriptionAttribute("Common_CLI_ConvertedConfigurationOutputFolder")] string target = null,
[ArgumentAttribute("mode")][LocalizableDescriptionAttribute("Common_CLI_ConfigurationConversionMode")] ConversionMode conversionMode = ConversionMode.Upgrade,
[ArgumentAttribute("nd")][LocalizableDescriptionAttribute("Common_CLI_DoNotDeleteOldConfigurationFilesAfterConvert")] bool doNotDelete = false,
[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("o")><LocalizableDescriptionAttribute("Common_CLI_ConvertedConfigurationOutputFolder")> Optional target As String = Nothing,
<ArgumentAttribute("mode")><LocalizableDescriptionAttribute("Common_CLI_ConfigurationConversionMode")> Optional conversionMode As ConversionMode = ConversionMode.Upgrade,
<ArgumentAttribute("nd")><LocalizableDescriptionAttribute("Common_CLI_DoNotDeleteOldConfigurationFilesAfterConvert")> Optional doNotDelete 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"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"o")][LocalizableDescriptionAttribute(L"Common_CLI_ConvertedConfigurationOutputFolder")] String^ target = nullptr,
[ArgumentAttribute(L"mode")][LocalizableDescriptionAttribute(L"Common_CLI_ConfigurationConversionMode")] ConversionMode conversionMode = ConversionMode::Upgrade,
[ArgumentAttribute(L"nd")][LocalizableDescriptionAttribute(L"Common_CLI_DoNotDeleteOldConfigurationFilesAfterConvert")] bool doNotDelete = false,
[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("o")>][<LocalizableDescriptionAttribute("Common_CLI_ConvertedConfigurationOutputFolder")>] ?target : string *
[<ArgumentAttribute("mode")>][<LocalizableDescriptionAttribute("Common_CLI_ConfigurationConversionMode")>] ?conversionMode : ConversionMode *
[<ArgumentAttribute("nd")>][<LocalizableDescriptionAttribute("Common_CLI_DoNotDeleteOldConfigurationFilesAfterConvert")>] ?doNotDelete : bool *
[<ArgumentAttribute("q")>][<LocalizableDescriptionAttribute("Common_CLI_Quiet")>] ?quiet : bool *
[<ArgumentAttribute("nologo")>][<LocalizableDescriptionAttribute("CLI_NoLogo")>] ?nologo : bool
(* Defaults:
let _target = defaultArg target null
let _conversionMode = defaultArg conversionMode ConversionMode.Upgrade
let _doNotDelete = defaultArg doNotDelete false
let _quiet = defaultArg quiet false
let _nologo = defaultArg nologo false
*)
-> Task
- stdOut TextWriter
-
- stdErr TextWriter
-
- source String
-
- target String (Optional)
-
- conversionMode ConversionMode (Optional)
-
- doNotDelete Boolean (Optional)
-
- quiet Boolean (Optional)
-
- nologo Boolean (Optional)
-
Task