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