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
-
objectValidateMethodConvention
- Implements
Methods
Apply(ConventionContext)
Apply the convention.
public void Apply(ConventionContext context)
Parameters
contextConventionContextThe context in which the convention is applied.