IParameterModelBaseConvention 接口   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
允许在控制器和 Razor Pages 上自定义属性和参数。
public interface class IParameterModelBaseConventionpublic interface IParameterModelBaseConventiontype IParameterModelBaseConvention = interfacePublic Interface IParameterModelBaseConvention注解
若要使用此接口,请创建实现 Attribute 接口的类,并将其放置在操作方法参数上。
方法
| Apply(ParameterModelBase) | 调用以将约定应用于 ParameterModelBase。 |