IParameterModelBaseConvention 接口

定义

允许在控制器和 Razor Pages 上自定义属性和参数。

public interface class IParameterModelBaseConvention
public interface IParameterModelBaseConvention
type IParameterModelBaseConvention = interface
Public Interface IParameterModelBaseConvention

注解

若要使用此接口,请创建实现 Attribute 接口的类,并将其放置在操作方法参数上。

方法

Apply(ParameterModelBase)

调用以将约定应用于 ParameterModelBase

适用于