Table of Contents

Class ValidateMethodConvention

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

Invokes a method named "OnValidate" on the model type after parsing.

public class ValidateMethodConvention : IConvention
Inheritance
object
ValidateMethodConvention
Implements

Methods

Apply(ConventionContext)

Apply the convention.

public void Apply(ConventionContext context)

Parameters

context ConventionContext

The context in which the convention is applied.