Class HelpOptionAttributeConvention
- Namespace
- McMaster.Extensions.CommandLineUtils.Conventions
- Assembly
- McMaster.Extensions.CommandLineUtils.dll
Sets OptionHelp based on the usage of HelpOptionAttribute.
public class HelpOptionAttributeConvention : OptionAttributeConventionBase<HelpOptionAttribute>, IConvention
- Inheritance
-
objectHelpOptionAttributeConvention
- Implements
Methods
Apply(ConventionContext)
Apply the convention.
public virtual void Apply(ConventionContext context)
Parameters
contextConventionContextThe context in which the convention is applied.