ApiVisibilityConvention 类

定义

IActionModelConvention 个设置 Api 资源管理器可见性的 。

public ref class ApiVisibilityConvention : Microsoft::AspNetCore::Mvc::ApplicationModels::IActionModelConvention
public class ApiVisibilityConvention : Microsoft.AspNetCore.Mvc.ApplicationModels.IActionModelConvention
type ApiVisibilityConvention = class
    interface IActionModelConvention
Public Class ApiVisibilityConvention
Implements IActionModelConvention
继承
ApiVisibilityConvention
实现

构造函数

ApiVisibilityConvention()

方法

Apply(ActionModel)

调用 以将约定应用于 ActionModel

ShouldApply(ActionModel)

确定 的此实例 IActionModelConvention 是否适用于指定的 action

适用于