ApiVisibilityConvention Třída

Definice

Nastaví IActionModelConvention viditelnost Api Exploreru.

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
Dědičnost
ApiVisibilityConvention
Implementuje

Konstruktory

ApiVisibilityConvention()

Nastaví IActionModelConvention viditelnost Api Exploreru.

Metody

Apply(ActionModel)

Volá se pro použití konvence na ActionModel.

ShouldApply(ActionModel)

Určuje, zda se tato instance IActionModelConvention vztahuje na zadaný actionobjekt .

Platí pro