OptionValidation
AcceptExistingOnly(Option<DirectoryInfo>)
AcceptExistingOnly(Option<FileInfo>)
AcceptExistingOnly(Option<FileSystemInfo>)
AcceptExistingOnly<T>(Option<T>)
net11.0
namespace System.CommandLine
{
public static class OptionValidation
{
public static Option<T>! AcceptExistingOnly<T>(this Option<T>! option)
where T, IEnumerable<FileSystemInfo!>!;
}
}
| .NET | 8.09.010.011.0 |
|---|---|
Information specific to net11.0 | |
| Assemblies | System.CommandLine , Version=3.0.0.0, PublicKeyToken=31bf3856ad364e35 System.CommandLine , Version=2.0.5.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs a package reference to |
| Package | System.CommandLine (3.0.0-preview.2.26159.112) net10.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API