|
15 | 15 | public Func<System.CommandLine.Parsing.ArgumentResult,T> DefaultValueFactory { get; set; } |
16 | 16 | public System.Boolean HasDefaultValue { get; } |
17 | 17 | public System.Type ValueType { get; } |
| 18 | + public System.Void SetValueFactory(Func<System.CommandLine.Parsing.ArgumentResult,T> valueFactory, ValueFactoryInvocation invocation = WhenTokensMatched) |
18 | 19 | public struct ArgumentArity : System.ValueType, System.IEquatable<ArgumentArity> |
19 | 20 | public static ArgumentArity ExactlyOne { get; } |
20 | 21 | public static ArgumentArity OneOrMore { get; } |
|
99 | 100 | public Option<T> AcceptLegalFileNamesOnly() |
100 | 101 | public Option<T> AcceptLegalFilePathsOnly() |
101 | 102 | public Option<T> AcceptOnlyFromAmong(System.String[] values) |
| 103 | + public System.Void SetValueFactory(Func<System.CommandLine.Parsing.ArgumentResult,T> valueFactory, ValueFactoryInvocation invocation = WhenTokensMatched) |
102 | 104 | public static class OptionValidation |
103 | 105 | public static Option<System.IO.FileInfo> AcceptExistingOnly(this Option<System.IO.FileInfo> option) |
104 | 106 | public static Option<System.IO.DirectoryInfo> AcceptExistingOnly(this Option<System.IO.DirectoryInfo> option) |
|
148 | 150 | public System.Collections.Generic.IEnumerable<Symbol> Parents { get; } |
149 | 151 | public System.Collections.Generic.IEnumerable<System.CommandLine.Completions.CompletionItem> GetCompletions(System.CommandLine.Completions.CompletionContext context) |
150 | 152 | public System.String ToString() |
| 153 | + public enum ValueFactoryInvocation : System.Enum, System.IComparable, System.IConvertible, System.IFormattable, System.ISpanFormattable |
| 154 | + WhenTokensMatched=1 |
| 155 | + WhenTokensNotMatched=2 |
| 156 | + Always=3 |
151 | 157 | public class VersionOption : Option |
152 | 158 | .ctor() |
153 | 159 | .ctor(System.String name, System.String[] aliases) |
|
0 commit comments