Table of Contents

Class ParentPropertyConvention

Namespace
McMaster.Extensions.CommandLineUtils.Conventions
Assembly
McMaster.Extensions.CommandLineUtils.dll

Sets a property named Parent on the model type to the value of the model of the parent command.

public class ParentPropertyConvention : IConvention
Inheritance
object
ParentPropertyConvention
Implements

Methods

Apply(ConventionContext)

Apply the convention.

public virtual void Apply(ConventionContext context)

Parameters

context ConventionContext

The context in which the convention is applied.