CommandScript - метод
Пространство имён: Tessa.Extensions.Default.Console.ScriptСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 3.6.0.22
[VerbAttribute("Script")]
[LocalizableDescriptionAttribute("Common_CLI_Script")]
public static Task Script(
[InputAttribute] TextReader input,
[OutputAttribute] TextWriter stdOut,
[ErrorAttribute] TextWriter stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute("Common_CLI_ScriptNames")] IEnumerable<string> scriptName = null,
[ArgumentAttribute("a")][LocalizableDescriptionAttribute("Common_CLI_Address")] string address = null,
[ArgumentAttribute("i")][LocalizableDescriptionAttribute("Common_CLI_Instance")] string instanceName = null,
[ArgumentAttribute("u")][LocalizableDescriptionAttribute("Common_CLI_UserName")] string userName = null,
[ArgumentAttribute("p")][LocalizableDescriptionAttribute("Common_CLI_Password")] string password = null,
[ArgumentAttribute("cs")][LocalizableDescriptionAttribute("Common_CLI_ConfigurationString")] string configurationString = null,
[ArgumentAttribute("db")][LocalizableDescriptionAttribute("Common_CLI_DatabaseName")] string databaseName = null,
[ArgumentAttribute("pp")][LocalizableDescriptionAttribute("Common_CLI_ParametersScript")] IEnumerable<string> parameters = null,
[ArgumentAttribute("help")][LocalizableDescriptionAttribute("Common_CLI_ScriptHelp")] bool? help = null,
[ArgumentAttribute("q")][LocalizableDescriptionAttribute("Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute("nologo")][LocalizableDescriptionAttribute("CLI_NoLogo")] bool nologo = false
)
<VerbAttribute("Script")>
<LocalizableDescriptionAttribute("Common_CLI_Script")>
Public Shared Function Script (
<InputAttribute> input As TextReader,
<OutputAttribute> stdOut As TextWriter,
<ErrorAttribute> stdErr As TextWriter,
<ArgumentAttribute><LocalizableDescriptionAttribute("Common_CLI_ScriptNames")> Optional scriptName As IEnumerable(Of String) = Nothing,
<ArgumentAttribute("a")><LocalizableDescriptionAttribute("Common_CLI_Address")> Optional address As String = Nothing,
<ArgumentAttribute("i")><LocalizableDescriptionAttribute("Common_CLI_Instance")> Optional instanceName As String = Nothing,
<ArgumentAttribute("u")><LocalizableDescriptionAttribute("Common_CLI_UserName")> Optional userName As String = Nothing,
<ArgumentAttribute("p")><LocalizableDescriptionAttribute("Common_CLI_Password")> Optional password As String = Nothing,
<ArgumentAttribute("cs")><LocalizableDescriptionAttribute("Common_CLI_ConfigurationString")> Optional configurationString As String = Nothing,
<ArgumentAttribute("db")><LocalizableDescriptionAttribute("Common_CLI_DatabaseName")> Optional databaseName As String = Nothing,
<ArgumentAttribute("pp")><LocalizableDescriptionAttribute("Common_CLI_ParametersScript")> Optional parameters As IEnumerable(Of String) = Nothing,
<ArgumentAttribute("help")><LocalizableDescriptionAttribute("Common_CLI_ScriptHelp")> Optional help As Boolean? = 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"Script")]
[LocalizableDescriptionAttribute(L"Common_CLI_Script")]
static Task^ Script(
[InputAttribute] TextReader^ input,
[OutputAttribute] TextWriter^ stdOut,
[ErrorAttribute] TextWriter^ stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute(L"Common_CLI_ScriptNames")] IEnumerable<String^>^ scriptName = nullptr,
[ArgumentAttribute(L"a")][LocalizableDescriptionAttribute(L"Common_CLI_Address")] String^ address = nullptr,
[ArgumentAttribute(L"i")][LocalizableDescriptionAttribute(L"Common_CLI_Instance")] String^ instanceName = nullptr,
[ArgumentAttribute(L"u")][LocalizableDescriptionAttribute(L"Common_CLI_UserName")] String^ userName = nullptr,
[ArgumentAttribute(L"p")][LocalizableDescriptionAttribute(L"Common_CLI_Password")] String^ password = nullptr,
[ArgumentAttribute(L"cs")][LocalizableDescriptionAttribute(L"Common_CLI_ConfigurationString")] String^ configurationString = nullptr,
[ArgumentAttribute(L"db")][LocalizableDescriptionAttribute(L"Common_CLI_DatabaseName")] String^ databaseName = nullptr,
[ArgumentAttribute(L"pp")][LocalizableDescriptionAttribute(L"Common_CLI_ParametersScript")] IEnumerable<String^>^ parameters = nullptr,
[ArgumentAttribute(L"help")][LocalizableDescriptionAttribute(L"Common_CLI_ScriptHelp")] Nullable<bool> help = nullptr,
[ArgumentAttribute(L"q")][LocalizableDescriptionAttribute(L"Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute(L"nologo")][LocalizableDescriptionAttribute(L"CLI_NoLogo")] bool nologo = false
)
[<VerbAttribute("Script")>]
[<LocalizableDescriptionAttribute("Common_CLI_Script")>]
static member Script :
[<InputAttribute>] input : TextReader *
[<OutputAttribute>] stdOut : TextWriter *
[<ErrorAttribute>] stdErr : TextWriter *
[<ArgumentAttribute>][<LocalizableDescriptionAttribute("Common_CLI_ScriptNames")>] ?scriptName : IEnumerable<string> *
[<ArgumentAttribute("a")>][<LocalizableDescriptionAttribute("Common_CLI_Address")>] ?address : string *
[<ArgumentAttribute("i")>][<LocalizableDescriptionAttribute("Common_CLI_Instance")>] ?instanceName : string *
[<ArgumentAttribute("u")>][<LocalizableDescriptionAttribute("Common_CLI_UserName")>] ?userName : string *
[<ArgumentAttribute("p")>][<LocalizableDescriptionAttribute("Common_CLI_Password")>] ?password : string *
[<ArgumentAttribute("cs")>][<LocalizableDescriptionAttribute("Common_CLI_ConfigurationString")>] ?configurationString : string *
[<ArgumentAttribute("db")>][<LocalizableDescriptionAttribute("Common_CLI_DatabaseName")>] ?databaseName : string *
[<ArgumentAttribute("pp")>][<LocalizableDescriptionAttribute("Common_CLI_ParametersScript")>] ?parameters : IEnumerable<string> *
[<ArgumentAttribute("help")>][<LocalizableDescriptionAttribute("Common_CLI_ScriptHelp")>] ?help : Nullable<bool> *
[<ArgumentAttribute("q")>][<LocalizableDescriptionAttribute("Common_CLI_Quiet")>] ?quiet : bool *
[<ArgumentAttribute("nologo")>][<LocalizableDescriptionAttribute("CLI_NoLogo")>] ?nologo : bool
(* Defaults:
let _scriptName = defaultArg scriptName null
let _address = defaultArg address null
let _instanceName = defaultArg instanceName null
let _userName = defaultArg userName null
let _password = defaultArg password null
let _configurationString = defaultArg configurationString null
let _databaseName = defaultArg databaseName null
let _parameters = defaultArg parameters null
let _help = defaultArg help null
let _quiet = defaultArg quiet false
let _nologo = defaultArg nologo false
*)
-> Task
- input TextReader
-
- stdOut TextWriter
-
- stdErr TextWriter
-
- scriptName IEnumerableString (Optional)
-
- address String (Optional)
-
- instanceName String (Optional)
-
- userName String (Optional)
-
- password String (Optional)
-
- configurationString String (Optional)
-
- databaseName String (Optional)
-
- parameters IEnumerableString (Optional)
-
- help NullableBoolean (Optional)
-
- quiet Boolean (Optional)
-
- nologo Boolean (Optional)
-
Task