ApiExplorerSettingsAttribute Klasa

Definicja

Steruje widocznością i nazwą ApiDescription grupy skojarzonej klasy kontrolera lub metody akcji.

public ref class ApiExplorerSettingsAttribute : Attribute, Microsoft::AspNetCore::Mvc::ApiExplorer::IApiDescriptionGroupNameProvider, Microsoft::AspNetCore::Mvc::ApiExplorer::IApiDescriptionVisibilityProvider
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public class ApiExplorerSettingsAttribute : Attribute, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupNameProvider, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionVisibilityProvider
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type ApiExplorerSettingsAttribute = class
    inherit Attribute
    interface IApiDescriptionGroupNameProvider
    interface IApiDescriptionVisibilityProvider
Public Class ApiExplorerSettingsAttribute
Inherits Attribute
Implements IApiDescriptionGroupNameProvider, IApiDescriptionVisibilityProvider
Dziedziczenie
ApiExplorerSettingsAttribute
Atrybuty
Implementuje

Konstruktory

ApiExplorerSettingsAttribute()

Steruje widocznością i nazwą ApiDescription grupy skojarzonej klasy kontrolera lub metody akcji.

Właściwości

GroupName

Nazwa ApiDescription grupy skojarzonej akcji lub kontrolera.

IgnoreApi

Jeśli true nie ApiDescription zostaną utworzone żadne obiekty dla skojarzonego kontrolera lub akcji.

Dotyczy