Implemented interface member:
property
ApiExplorer
Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel.ApiExplorer
2 writes to ApiExplorer
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\ActionModel.cs (2)
34ApiExplorer = new ApiExplorerModel(); 65ApiExplorer = new ApiExplorerModel(other.ApiExplorer);
20 references to ApiExplorer
Microsoft.AspNetCore.Mvc.Core (12)
ApplicationModels\ActionModel.cs (3)
65ApiExplorer = new ApiExplorerModel(other.ApiExplorer); 84/// <see cref="ActionModel.ApiExplorer"/> allows configuration of settings for ApiExplorer 87/// Settings applied by <see cref="ActionModel.ApiExplorer"/> override settings from
ApplicationModels\ApiVisibilityConvention.cs (2)
19if (action.Controller.ApiExplorer.IsVisible == null && action.ApiExplorer.IsVisible == null) 22action.ApiExplorer.IsVisible = true;
ApplicationModels\ApplicationModel.cs (1)
32/// <see cref="ControllerModel.ApiExplorer"/> or <see cref="ActionModel.ApiExplorer"/>.
ApplicationModels\ControllerActionDescriptorBuilder.cs (3)
107action.ApiExplorer?.IsVisible ?? 113action.ApiExplorer?.IsVisible ?? 138GroupName = action.ApiExplorer?.GroupName ?? controller.ApiExplorer?.GroupName,
ApplicationModels\ControllerModel.cs (1)
81/// which apply to all actions in the controller unless overridden by <see cref="ActionModel.ApiExplorer"/>.
ApplicationModels\DefaultApplicationModelProvider.cs (2)
286actionModel.ApiExplorer.IsVisible = !apiVisibility.IgnoreApi; 292actionModel.ApiExplorer.GroupName = apiGroupName.GroupName;
Microsoft.AspNetCore.Mvc.Core.Test (8)
ApplicationModels\ActionModelTest.cs (2)
33var apiExplorer = action.ApiExplorer; 45Assert.NotSame(apiExplorer, action2.ApiExplorer);
ApplicationModels\ApiBehaviorApplicationModelProviderTest.cs (2)
75Assert.True(actionModel.ApiExplorer.IsVisible); 118Assert.True(actionModel.ApiExplorer.IsVisible);
ApplicationModels\ApiVisibilityConventionTest.cs (4)
21Assert.True(action.ApiExplorer.IsVisible); 29action.ApiExplorer.IsVisible = false; 36Assert.False(action.ApiExplorer.IsVisible); 51Assert.Null(action.ApiExplorer.IsVisible);