Class ParentPropertyConvention
Sets a property named Parent on the model type to the value
of the model of the parent command.
Inheritance
System.Object
    ParentPropertyConvention
  Implements
Namespace: McMaster.Extensions.CommandLineUtils.Conventions
Assembly: McMaster.Extensions.CommandLineUtils.dll
Syntax
public class ParentPropertyConvention : 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. |