CommandFileSource - метод
Пространство имён: Tessa.Extensions.Default.Console.FileSourceСборка: Tessa.Extensions.Default.Console (в Tessa.Extensions.Default.Console.dll) Версия: 4.0.4
[VerbAttribute("FileSource")]
[LocalizableDescriptionAttribute("Common_CLI_FileSource")]
public static Task FileSource(
[OutputAttribute] TextWriter stdOut,
[ErrorAttribute] TextWriter stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute("Common_CLI_FileSourceID")] int id,
[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("f")][LocalizableDescriptionAttribute("Common_CLI_FileSourceLocation")] string? fileLocation = null,
[ArgumentAttribute("db")][LocalizableDescriptionAttribute("Common_CLI_FileSourceDatabase")] string? databaseLocation = null,
[ArgumentAttribute("n")][LocalizableDescriptionAttribute("Common_CLI_FileSourceName")] string? name = null,
[ArgumentAttribute("ext")][LocalizableDescriptionAttribute("Common_CLI_FileSourceExtensions")] string? fileExtensions = null,
[ArgumentAttribute("c")][LocalizableDescriptionAttribute("Common_CLI_RemoveFileSource")] bool remove = false,
[ArgumentAttribute("default")][LocalizableDescriptionAttribute("Common_CLI_FileSourceDefault")] bool isDefault = false,
[ArgumentAttribute("q")][LocalizableDescriptionAttribute("Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute("nologo")][LocalizableDescriptionAttribute("CLI_NoLogo")] bool nologo = false
)
<VerbAttribute("FileSource")>
<LocalizableDescriptionAttribute("Common_CLI_FileSource")>
Public Shared Function FileSource (
<OutputAttribute> stdOut As TextWriter,
<ErrorAttribute> stdErr As TextWriter,
<ArgumentAttribute><LocalizableDescriptionAttribute("Common_CLI_FileSourceID")> id As Integer,
<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("f")><LocalizableDescriptionAttribute("Common_CLI_FileSourceLocation")> Optional fileLocation As String = Nothing,
<ArgumentAttribute("db")><LocalizableDescriptionAttribute("Common_CLI_FileSourceDatabase")> Optional databaseLocation As String = Nothing,
<ArgumentAttribute("n")><LocalizableDescriptionAttribute("Common_CLI_FileSourceName")> Optional name As String = Nothing,
<ArgumentAttribute("ext")><LocalizableDescriptionAttribute("Common_CLI_FileSourceExtensions")> Optional fileExtensions As String = Nothing,
<ArgumentAttribute("c")><LocalizableDescriptionAttribute("Common_CLI_RemoveFileSource")> Optional remove As Boolean = false,
<ArgumentAttribute("default")><LocalizableDescriptionAttribute("Common_CLI_FileSourceDefault")> Optional isDefault 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"FileSource")]
[LocalizableDescriptionAttribute(L"Common_CLI_FileSource")]
static Task^ FileSource(
[OutputAttribute] TextWriter^ stdOut,
[ErrorAttribute] TextWriter^ stdErr,
[ArgumentAttribute][LocalizableDescriptionAttribute(L"Common_CLI_FileSourceID")] int id,
[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"f")][LocalizableDescriptionAttribute(L"Common_CLI_FileSourceLocation")] String^ fileLocation = nullptr,
[ArgumentAttribute(L"db")][LocalizableDescriptionAttribute(L"Common_CLI_FileSourceDatabase")] String^ databaseLocation = nullptr,
[ArgumentAttribute(L"n")][LocalizableDescriptionAttribute(L"Common_CLI_FileSourceName")] String^ name = nullptr,
[ArgumentAttribute(L"ext")][LocalizableDescriptionAttribute(L"Common_CLI_FileSourceExtensions")] String^ fileExtensions = nullptr,
[ArgumentAttribute(L"c")][LocalizableDescriptionAttribute(L"Common_CLI_RemoveFileSource")] bool remove = false,
[ArgumentAttribute(L"default")][LocalizableDescriptionAttribute(L"Common_CLI_FileSourceDefault")] bool isDefault = false,
[ArgumentAttribute(L"q")][LocalizableDescriptionAttribute(L"Common_CLI_Quiet")] bool quiet = false,
[ArgumentAttribute(L"nologo")][LocalizableDescriptionAttribute(L"CLI_NoLogo")] bool nologo = false
)
[<VerbAttribute("FileSource")>]
[<LocalizableDescriptionAttribute("Common_CLI_FileSource")>]
static member FileSource :
[<OutputAttribute>] stdOut : TextWriter *
[<ErrorAttribute>] stdErr : TextWriter *
[<ArgumentAttribute>][<LocalizableDescriptionAttribute("Common_CLI_FileSourceID")>] id : int *
[<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("f")>][<LocalizableDescriptionAttribute("Common_CLI_FileSourceLocation")>] ?fileLocation : string *
[<ArgumentAttribute("db")>][<LocalizableDescriptionAttribute("Common_CLI_FileSourceDatabase")>] ?databaseLocation : string *
[<ArgumentAttribute("n")>][<LocalizableDescriptionAttribute("Common_CLI_FileSourceName")>] ?name : string *
[<ArgumentAttribute("ext")>][<LocalizableDescriptionAttribute("Common_CLI_FileSourceExtensions")>] ?fileExtensions : string *
[<ArgumentAttribute("c")>][<LocalizableDescriptionAttribute("Common_CLI_RemoveFileSource")>] ?remove : bool *
[<ArgumentAttribute("default")>][<LocalizableDescriptionAttribute("Common_CLI_FileSourceDefault")>] ?isDefault : bool *
[<ArgumentAttribute("q")>][<LocalizableDescriptionAttribute("Common_CLI_Quiet")>] ?quiet : bool *
[<ArgumentAttribute("nologo")>][<LocalizableDescriptionAttribute("CLI_NoLogo")>] ?nologo : bool
(* Defaults:
let _address = defaultArg address null
let _instanceName = defaultArg instanceName null
let _userName = defaultArg userName null
let _password = defaultArg password null
let _fileLocation = defaultArg fileLocation null
let _databaseLocation = defaultArg databaseLocation null
let _name = defaultArg name null
let _fileExtensions = defaultArg fileExtensions null
let _remove = defaultArg remove false
let _isDefault = defaultArg isDefault false
let _quiet = defaultArg quiet false
let _nologo = defaultArg nologo false
*)
-> Task
- stdOut TextWriter
-
- stdErr TextWriter
-
- id Int32
-
- address String (Optional)
-
- instanceName String (Optional)
-
- userName String (Optional)
-
- password String (Optional)
-
- fileLocation String (Optional)
-
- databaseLocation String (Optional)
-
- name String (Optional)
-
- fileExtensions String (Optional)
-
- remove Boolean (Optional)
-
- isDefault Boolean (Optional)
-
- quiet Boolean (Optional)
-
- nologo Boolean (Optional)
-
Task