OptionExtensions.LegalFilePathsOnly<TOption>(TOption) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures an option to accept only values representing legal file paths.
public:
generic <typename TOption>
where TOption : System::CommandLine::Option[System::Runtime::CompilerServices::Extension]
static TOption LegalFilePathsOnly(TOption option);
public static TOption LegalFilePathsOnly<TOption> (this TOption option) where TOption : System.CommandLine.Option;
static member LegalFilePathsOnly : 'Option -> 'Option (requires 'Option :> System.CommandLine.Option)
<Extension()>
Public Function LegalFilePathsOnly(Of TOption As Option) (option As TOption) As TOption
Type Parameters
- TOption
Parameters
- option
- TOption
The option to configure.
Returns
TOption
The option being extended.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.