Aracılığıyla paylaş


ArgumentExtensions.ExistingOnly Yöntem

Tanım

Aşırı Yüklemeler

ExistingOnly(Argument<DirectoryInfo>)

Bir bağımsız değişkeni yalnızca var olan bir dizine karşılık gelen değerleri kabul etmek için yapılandırılır.

ExistingOnly(Argument<FileInfo>)

Bir bağımsız değişkeni yalnızca var olan bir dosyaya karşılık gelen değerleri kabul etmek için yapılandırılır.

ExistingOnly(Argument<FileSystemInfo>)

Bir bağımsız değişkeni yalnızca var olan bir dosya veya dizine karşılık gelen değerleri kabul etmek için yapılandırılır.

ExistingOnly<T>(Argument<T>)

Bir bağımsız değişkeni yalnızca varolan bir dosya veya dizine karşılık gelen değerleri kabul etmek için yapılandırılır.

ExistingOnly(Argument<DirectoryInfo>)

Bir bağımsız değişkeni yalnızca var olan bir dizine karşılık gelen değerleri kabul etmek için yapılandırılır.

public:
[System::Runtime::CompilerServices::Extension]
 static System::CommandLine::Argument<System::IO::DirectoryInfo ^> ^ ExistingOnly(System::CommandLine::Argument<System::IO::DirectoryInfo ^> ^ argument);
public static System.CommandLine.Argument<System.IO.DirectoryInfo> ExistingOnly (this System.CommandLine.Argument<System.IO.DirectoryInfo> argument);
static member ExistingOnly : System.CommandLine.Argument<System.IO.DirectoryInfo> -> System.CommandLine.Argument<System.IO.DirectoryInfo>
<Extension()>
Public Function ExistingOnly (argument As Argument(Of DirectoryInfo)) As Argument(Of DirectoryInfo)

Parametreler

argument
Argument<DirectoryInfo>

Yapılandırılan bağımsız değişken.

Döndürülenler

Yapılandırılan bağımsız değişken.

Şunlara uygulanır

ExistingOnly(Argument<FileInfo>)

Bir bağımsız değişkeni yalnızca var olan bir dosyaya karşılık gelen değerleri kabul etmek için yapılandırılır.

public:
[System::Runtime::CompilerServices::Extension]
 static System::CommandLine::Argument<System::IO::FileInfo ^> ^ ExistingOnly(System::CommandLine::Argument<System::IO::FileInfo ^> ^ argument);
public static System.CommandLine.Argument<System.IO.FileInfo> ExistingOnly (this System.CommandLine.Argument<System.IO.FileInfo> argument);
static member ExistingOnly : System.CommandLine.Argument<System.IO.FileInfo> -> System.CommandLine.Argument<System.IO.FileInfo>
<Extension()>
Public Function ExistingOnly (argument As Argument(Of FileInfo)) As Argument(Of FileInfo)

Parametreler

argument
Argument<FileInfo>

Yapılandırılan bağımsız değişken.

Döndürülenler

Yapılandırılan bağımsız değişken.

Şunlara uygulanır

ExistingOnly(Argument<FileSystemInfo>)

Bir bağımsız değişkeni yalnızca var olan bir dosya veya dizine karşılık gelen değerleri kabul etmek için yapılandırılır.

public:
[System::Runtime::CompilerServices::Extension]
 static System::CommandLine::Argument<System::IO::FileSystemInfo ^> ^ ExistingOnly(System::CommandLine::Argument<System::IO::FileSystemInfo ^> ^ argument);
public static System.CommandLine.Argument<System.IO.FileSystemInfo> ExistingOnly (this System.CommandLine.Argument<System.IO.FileSystemInfo> argument);
static member ExistingOnly : System.CommandLine.Argument<System.IO.FileSystemInfo> -> System.CommandLine.Argument<System.IO.FileSystemInfo>
<Extension()>
Public Function ExistingOnly (argument As Argument(Of FileSystemInfo)) As Argument(Of FileSystemInfo)

Parametreler

argument
Argument<FileSystemInfo>

Yapılandırılan bağımsız değişken.

Döndürülenler

Yapılandırılan bağımsız değişken.

Şunlara uygulanır

ExistingOnly<T>(Argument<T>)

Bir bağımsız değişkeni yalnızca varolan bir dosya veya dizine karşılık gelen değerleri kabul etmek için yapılandırılır.

public:
generic <typename T>
 where T : System::Collections::Generic::IEnumerable<System::IO::FileSystemInfo ^>[System::Runtime::CompilerServices::Extension]
 static System::CommandLine::Argument<T> ^ ExistingOnly(System::CommandLine::Argument<T> ^ argument);
public static System.CommandLine.Argument<T> ExistingOnly<T> (this System.CommandLine.Argument<T> argument) where T : System.Collections.Generic.IEnumerable<System.IO.FileSystemInfo>;
static member ExistingOnly : System.CommandLine.Argument<#seq<System.IO.FileSystemInfo>> -> System.CommandLine.Argument<#seq<System.IO.FileSystemInfo>>
<Extension()>
Public Function ExistingOnly(Of T As IEnumerable(Of FileSystemInfo)) (argument As Argument(Of T)) As Argument(Of T)

Tür Parametreleri

T

Parametreler

argument
Argument<T>

Yapılandırılan bağımsız değişken.

Döndürülenler

Yapılandırılan bağımsız değişken.

Şunlara uygulanır