Implemented interface member:
property
ApiExplorer
Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel.ApiExplorer
2 writes to ApiExplorer
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\ControllerModel.cs (2)
34ApiExplorer = new ApiExplorerModel(); 65ApiExplorer = new ApiExplorerModel(other.ApiExplorer);
20 references to ApiExplorer
ApiExplorerWebSite (4)
ApiExplorerVisibilityDisabledConvention.cs (1)
27controller.ApiExplorer.IsVisible = false;
ApiExplorerVisibilityEnabledConvention.cs (3)
17if (controller.ApiExplorer.IsVisible == null) 19controller.ApiExplorer.IsVisible = true; 20controller.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)
19if (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)
108controller.ApiExplorer?.IsVisible ?? 114controller.ApiExplorer?.IsVisible ?? 138GroupName = action.ApiExplorer?.GroupName ?? controller.ApiExplorer?.GroupName,
ApplicationModels\ControllerModel.cs (3)
65ApiExplorer = 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)
178controllerModel.ApiExplorer.IsVisible = !apiVisibility.IgnoreApi; 184controllerModel.ApiExplorer.GroupName = apiGroupName.GroupName;
Microsoft.AspNetCore.Mvc.Core.Test (5)
ApplicationModels\ApiVisibilityConventionTest.cs (1)
44action.Controller.ApiExplorer.IsVisible = false;
ApplicationModels\ControllerModelTest.cs (4)
32var apiExplorer = controller.ApiExplorer; 33controller.ApiExplorer.GroupName = "group"; 34controller.ApiExplorer.IsVisible = true; 46Assert.NotSame(apiExplorer, controller2.ApiExplorer);