Search Results for

    Show / Hide Table of Contents

    Interface IMemberConvention

    Defines a convention that is implemented as an attribute on a model type.

    Namespace: McMaster.Extensions.CommandLineUtils.Conventions
    Assembly: McMaster.Extensions.CommandLineUtils.dll
    Syntax
    public interface IMemberConvention

    Methods

    | Improve this Doc View Source

    Apply(ConventionContext, MemberInfo)

    Apply the convention given a property or method.

    Declaration
    void Apply(ConventionContext context, MemberInfo member)
    Parameters
    Type Name Description
    ConventionContext context

    The convention context.

    System.Reflection.MemberInfo member

    A member of the model type to which the attribute is applied.

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