Dela via


DefaultApiDescriptionProvider Class

Definition

Implements a provider of ApiDescription for actions represented by ControllerActionDescriptor.

public ref class DefaultApiDescriptionProvider : Microsoft::AspNetCore::Mvc::ApiExplorer::IApiDescriptionProvider
public class DefaultApiDescriptionProvider : Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionProvider
type DefaultApiDescriptionProvider = class
    interface IApiDescriptionProvider
Public Class DefaultApiDescriptionProvider
Implements IApiDescriptionProvider
Inheritance
DefaultApiDescriptionProvider
Implements

Constructors

DefaultApiDescriptionProvider(IOptions<MvcOptions>, IInlineConstraintResolver, IModelMetadataProvider, IActionResultTypeMapper, IOptions<RouteOptions>)

Creates a new instance of DefaultApiDescriptionProvider.

DefaultApiDescriptionProvider(IOptions<MvcOptions>, IInlineConstraintResolver, IModelMetadataProvider, IActionResultTypeMapper)
Obsolete.

Creates a new instance of DefaultApiDescriptionProvider.

DefaultApiDescriptionProvider(IOptions<MvcOptions>, IInlineConstraintResolver, IModelMetadataProvider)
Obsolete.

Creates a new instance of DefaultApiDescriptionProvider.

Properties

Order

Gets the order value for determining the order of execution of providers. Providers execute in ascending numeric value of the Order property.

Methods

OnProvidersExecuted(ApiDescriptionProviderContext)

Called after IApiDescriptionProvider implementations with higher Order values have been called.

OnProvidersExecuting(ApiDescriptionProviderContext)

Creates or modifies ApiDescriptions.

Applies to