Class ValidateMethodConvention
Invokes a method named "OnValidate" on the model type after parsing.
Inheritance
System.Object
ValidateMethodConvention
Implements
Namespace: McMaster.Extensions.CommandLineUtils
Assembly: McMaster.Extensions.CommandLineUtils.dll
Syntax
public class ValidateMethodConvention : IConvention
Methods
| Improve this Doc View SourceApply(ConventionContext)
Apply the convention.
Declaration
public void Apply(ConventionContext context)
Parameters
Type | Name | Description |
---|---|---|
ConventionContext | context | The context in which the convention is applied. |