Search Results for

    Show / Hide Table of Contents

    Class ValidateMethodConvention

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

    Inheritance
    System.Object
    ValidateMethodConvention
    Implements
    IConvention
    Namespace: McMaster.Extensions.CommandLineUtils
    Assembly: McMaster.Extensions.CommandLineUtils.dll
    Syntax
    public class ValidateMethodConvention : IConvention

    Methods

    | Improve this Doc View Source

    Apply(ConventionContext)

    Apply the convention.

    Declaration
    public void Apply(ConventionContext context)
    Parameters
    Type Name Description
    ConventionContext context

    The context in which the convention is applied.

    Implements

    IConvention
    • Improve this Doc
    • View Source
    In This Article
    Back to top