ArgumentValidation.AcceptExistingOnly Metode

Definisi

Overload

Nama Deskripsi
AcceptExistingOnly(Argument<DirectoryInfo>)

Mengonfigurasi argumen untuk hanya menerima nilai yang sesuai dengan direktori yang ada.

AcceptExistingOnly(Argument<FileInfo>)

Mengonfigurasi argumen untuk hanya menerima nilai yang terkait dengan file yang ada.

AcceptExistingOnly(Argument<FileSystemInfo>)

Mengonfigurasi argumen untuk hanya menerima nilai yang sesuai dengan file atau direktori yang ada.

AcceptExistingOnly<T>(Argument<T>)

Mengonfigurasi argumen untuk hanya menerima nilai yang sesuai dengan file atau direktori yang ada.

AcceptExistingOnly(Argument<DirectoryInfo>)

Sumber:
ArgumentValidation.cs
Sumber:
ArgumentValidation.cs

Mengonfigurasi argumen untuk hanya menerima nilai yang sesuai dengan direktori yang ada.

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)

Parameter

argument
Argument<DirectoryInfo>

Argumen yang akan dikonfigurasi.

Mengembalikan

Argumen yang dikonfigurasi.

Berlaku untuk

AcceptExistingOnly(Argument<FileInfo>)

Sumber:
ArgumentValidation.cs
Sumber:
ArgumentValidation.cs

Mengonfigurasi argumen untuk hanya menerima nilai yang terkait dengan file yang ada.

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)

Parameter

argument
Argument<FileInfo>

Argumen yang akan dikonfigurasi.

Mengembalikan

Argumen yang dikonfigurasi.

Berlaku untuk

AcceptExistingOnly(Argument<FileSystemInfo>)

Sumber:
ArgumentValidation.cs
Sumber:
ArgumentValidation.cs

Mengonfigurasi argumen untuk hanya menerima nilai yang sesuai dengan file atau direktori yang ada.

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)

Parameter

argument
Argument<FileSystemInfo>

Argumen yang akan dikonfigurasi.

Mengembalikan

Argumen yang dikonfigurasi.

Berlaku untuk

AcceptExistingOnly<T>(Argument<T>)

Sumber:
ArgumentValidation.cs
Sumber:
ArgumentValidation.cs

Mengonfigurasi argumen untuk hanya menerima nilai yang sesuai dengan file atau direktori yang ada.

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)

Jenis parameter

T

Parameter

argument
Argument<T>

Argumen yang akan dikonfigurasi.

Mengembalikan

Argumen yang dikonfigurasi.

Berlaku untuk