Option<T>
Option(String, String[])
CustomParser
DefaultValueFactory
ValueType
AcceptLegalFileNamesOnly()
AcceptLegalFilePathsOnly()
AcceptOnlyFromAmong(String[])
AcceptExistingOnly(Option<DirectoryInfo>)
AcceptExistingOnly(Option<FileInfo>)
AcceptExistingOnly(Option<FileSystemInfo>)
AcceptExistingOnly<T>(Option<T>)
net11.0
namespace System.CommandLine
{
public class Option<T> : Option
{
public Option<T>! AcceptOnlyFromAmong(params string![]! values);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .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