ApiExplorerSettingsAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This attribute can be used on the controllers and actions to influence the behavior of ApiExplorer.
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false)]
public sealed class ApiExplorerSettingsAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false)>]
type ApiExplorerSettingsAttribute = class
inherit Attribute
Public NotInheritable Class ApiExplorerSettingsAttribute
Inherits Attribute
- Inheritance
-
ApiExplorerSettingsAttribute
- Attributes
Constructors
ApiExplorerSettingsAttribute() |
Initializes a new instance of the ApiExplorerSettingsAttribute class. |
Properties
IgnoreApi |
Gets or sets a value indicating whether to exclude the controller or action from the ApiDescription instances generated by ApiExplorer. |