ApiDescriptionProviderContext Class¶
A context object for Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription
providers.
- Namespace
Microsoft.AspNetCore.Mvc.ApiExplorer
- Assemblies
- Microsoft.AspNetCore.Mvc.ApiExplorer
Syntax¶
public class ApiDescriptionProviderContext
-
class
Microsoft.AspNetCore.Mvc.ApiExplorer.
ApiDescriptionProviderContext
Constructors¶
-
ApiDescriptionProviderContext
(System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor>)¶ Creates a new instance of
Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionProviderContext
.Arguments: actions (System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor>) – The list of actions. public ApiDescriptionProviderContext(IReadOnlyList<ActionDescriptor> actions)
-
Properties¶
-
Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionProviderContext.
Actions
¶ The list of actions.
Return type: System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor> public IReadOnlyList<ActionDescriptor> Actions { get; }
-
Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionProviderContext.
Results
¶ The list of resulting
Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription
.Return type: System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription> public IList<ApiDescription> Results { get; }
-