ArgumentValidation.AcceptExistingOnly Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
| Name | Description |
|---|---|
| AcceptExistingOnly(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. |
| AcceptExistingOnly(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. |
| AcceptExistingOnly(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. |
| AcceptExistingOnly<T>(Argument<T>) |
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. |
AcceptExistingOnly(Argument<DirectoryInfo>)
- Kaynak:
- ArgumentValidation.cs
- Kaynak:
- ArgumentValidation.cs
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 ^> ^ AcceptExistingOnly(System::CommandLine::Argument<System::IO::DirectoryInfo ^> ^ argument);
public static System.CommandLine.Argument<System.IO.DirectoryInfo> AcceptExistingOnly(this System.CommandLine.Argument<System.IO.DirectoryInfo> argument);
static member AcceptExistingOnly : System.CommandLine.Argument<System.IO.DirectoryInfo> -> System.CommandLine.Argument<System.IO.DirectoryInfo>
<Extension()>
Public Function AcceptExistingOnly (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
AcceptExistingOnly(Argument<FileInfo>)
- Kaynak:
- ArgumentValidation.cs
- Kaynak:
- ArgumentValidation.cs
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 ^> ^ AcceptExistingOnly(System::CommandLine::Argument<System::IO::FileInfo ^> ^ argument);
public static System.CommandLine.Argument<System.IO.FileInfo> AcceptExistingOnly(this System.CommandLine.Argument<System.IO.FileInfo> argument);
static member AcceptExistingOnly : System.CommandLine.Argument<System.IO.FileInfo> -> System.CommandLine.Argument<System.IO.FileInfo>
<Extension()>
Public Function AcceptExistingOnly (argument As Argument(Of FileInfo)) As Argument(Of FileInfo)
Parametreler
Döndürülenler
Yapılandırılan bağımsız değişken.
Şunlara uygulanır
AcceptExistingOnly(Argument<FileSystemInfo>)
- Kaynak:
- ArgumentValidation.cs
- Kaynak:
- ArgumentValidation.cs
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 ^> ^ AcceptExistingOnly(System::CommandLine::Argument<System::IO::FileSystemInfo ^> ^ argument);
public static System.CommandLine.Argument<System.IO.FileSystemInfo> AcceptExistingOnly(this System.CommandLine.Argument<System.IO.FileSystemInfo> argument);
static member AcceptExistingOnly : System.CommandLine.Argument<System.IO.FileSystemInfo> -> System.CommandLine.Argument<System.IO.FileSystemInfo>
<Extension()>
Public Function AcceptExistingOnly (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
AcceptExistingOnly<T>(Argument<T>)
- Kaynak:
- ArgumentValidation.cs
- Kaynak:
- ArgumentValidation.cs
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:
generic <typename T>
where T : System::Collections::Generic::IEnumerable<System::IO::FileSystemInfo ^>[System::Runtime::CompilerServices::Extension]
static System::CommandLine::Argument<T> ^ AcceptExistingOnly(System::CommandLine::Argument<T> ^ argument);
public static System.CommandLine.Argument<T> AcceptExistingOnly<T>(this System.CommandLine.Argument<T> argument) where T : System.Collections.Generic.IEnumerable<System.IO.FileSystemInfo>;
static member AcceptExistingOnly : System.CommandLine.Argument<#seq<System.IO.FileSystemInfo>> -> System.CommandLine.Argument<#seq<System.IO.FileSystemInfo>>
<Extension()>
Public Function AcceptExistingOnly(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.