Class ArgumentAttributeConvention
- Namespace
- McMaster.Extensions.CommandLineUtils.Conventions
- Assembly
- McMaster.Extensions.CommandLineUtils.dll
Adds a CommandArgument for each ArgumentAttribute on the model type for CommandLineApplication<TModel>.
public class ArgumentAttributeConvention : IConvention
- Inheritance
-
objectArgumentAttributeConvention
- Implements
Methods
Apply(ConventionContext)
Apply the convention.
public virtual void Apply(ConventionContext context)
Parameters
contextConventionContextThe context in which the convention is applied.