ApiExplorerSettingsAttribute Класс

Определение

Управляет видимостью и именем группы связанного ApiDescription класса контроллера или метода действия.

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
Наследование
ApiExplorerSettingsAttribute
Атрибуты
Реализации

Конструкторы

ApiExplorerSettingsAttribute()

Управляет видимостью и именем группы связанного ApiDescription класса контроллера или метода действия.

Свойства

GroupName

Имя группы для ApiDescription связанного действия или контроллера.

IgnoreApi

В true этом случае объекты не ApiDescription будут созданы для связанного контроллера или действия.

Применяется к