Class SubcommandPropertyConvention
Sets a property named Subcommand to the value of the selected subcommand
model type of CommandLineApplication<TModel>.
Inheritance
System.Object
    SubcommandPropertyConvention
  Implements
Namespace: McMaster.Extensions.CommandLineUtils.Conventions
Assembly: McMaster.Extensions.CommandLineUtils.dll
Syntax
public class SubcommandPropertyConvention : IConventionMethods
| Improve this Doc View SourceApply(ConventionContext)
Apply the convention.
Declaration
public virtual void Apply(ConventionContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| ConventionContext | context | The context in which the convention is applied. |