ApiExplorerSettingsAttribute Třída

Definice

Řídí viditelnost a název skupiny pro apiDescription přidružené třídy kontroleru nebo metody akce.

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

Konstruktory

ApiExplorerSettingsAttribute()

Vlastnosti

GroupName

Název skupiny pro apiDescription přidružené akce nebo kontroleru.

IgnoreApi

Pokud je hodnota true , pro přidružený kontroler nebo akci se nevytvořily žádné objekty ApiDescription .

Platí pro