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 SourceApply(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. |