Implemented interface member:
property
ApiExplorer
Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel.ApiExplorer
2 writes to ApiExplorer
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\ControllerModel.cs (2)
34
ApiExplorer
= new ApiExplorerModel();
65
ApiExplorer
= new ApiExplorerModel(other.ApiExplorer);
20 references to ApiExplorer
ApiExplorerWebSite (4)
ApiExplorerVisibilityDisabledConvention.cs (1)
27
controller.
ApiExplorer
.IsVisible = false;
ApiExplorerVisibilityEnabledConvention.cs (3)
17
if (controller.
ApiExplorer
.IsVisible == null)
19
controller.
ApiExplorer
.IsVisible = true;
20
controller.
ApiExplorer
.GroupName = controller.ControllerName;
Microsoft.AspNetCore.Mvc.Core (11)
ApplicationModels\ActionModel.cs (1)
88
/// <see cref="ApplicationModel.ApiExplorer"/> and <see cref="ControllerModel.
ApiExplorer
"/>.
ApplicationModels\ApiVisibilityConvention.cs (1)
19
if (action.Controller.
ApiExplorer
.IsVisible == null && action.ApiExplorer.IsVisible == null)
ApplicationModels\ApplicationModel.cs (1)
32
/// <see cref="ControllerModel.
ApiExplorer
"/> or <see cref="ActionModel.ApiExplorer"/>.
ApplicationModels\ControllerActionDescriptorBuilder.cs (3)
108
controller.
ApiExplorer
?.IsVisible ??
114
controller.
ApiExplorer
?.IsVisible ??
138
GroupName = action.ApiExplorer?.GroupName ?? controller.
ApiExplorer
?.GroupName,
ApplicationModels\ControllerModel.cs (3)
65
ApiExplorer = new ApiExplorerModel(other.
ApiExplorer
);
80
/// <see cref="ControllerModel.
ApiExplorer
"/> allows configuration of settings for ApiExplorer
83
/// Settings applied by <see cref="ControllerModel.
ApiExplorer
"/> override settings from
ApplicationModels\DefaultApplicationModelProvider.cs (2)
178
controllerModel.
ApiExplorer
.IsVisible = !apiVisibility.IgnoreApi;
184
controllerModel.
ApiExplorer
.GroupName = apiGroupName.GroupName;
Microsoft.AspNetCore.Mvc.Core.Test (5)
ApplicationModels\ApiVisibilityConventionTest.cs (1)
44
action.Controller.
ApiExplorer
.IsVisible = false;
ApplicationModels\ControllerModelTest.cs (4)
32
var apiExplorer = controller.
ApiExplorer
;
33
controller.
ApiExplorer
.GroupName = "group";
34
controller.
ApiExplorer
.IsVisible = true;
46
Assert.NotSame(apiExplorer, controller2.
ApiExplorer
);