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
contextConventionContextThe convention context.
memberMemberInfoA member of the model type to which the attribute is applied.