Table of Contents

Interface IMemberConvention

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

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

public interface IMemberConvention

Methods

Apply(ConventionContext, MemberInfo)

Apply the convention given a property or method.

void Apply(ConventionContext context, MemberInfo member)

Parameters

context ConventionContext

The convention context.

member MemberInfo

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