11 writes to IsVisible
ApiExplorerWebSite (2)
ApiExplorerVisibilityDisabledConvention.cs (1)
27controller.ApiExplorer.IsVisible = false;
ApiExplorerVisibilityEnabledConvention.cs (1)
19controller.ApiExplorer.IsVisible = true;
Microsoft.AspNetCore.Mvc.Core (4)
ApplicationModels\ApiExplorerModel.cs (1)
27IsVisible = other.IsVisible;
ApplicationModels\ApiVisibilityConvention.cs (1)
22action.ApiExplorer.IsVisible = true;
ApplicationModels\DefaultApplicationModelProvider.cs (2)
178controllerModel.ApiExplorer.IsVisible = !apiVisibility.IgnoreApi; 286actionModel.ApiExplorer.IsVisible = !apiVisibility.IgnoreApi;
Microsoft.AspNetCore.Mvc.Core.Test (5)
ApplicationModels\ActionModelTest.cs (1)
34apiExplorer.IsVisible = false;
ApplicationModels\ApiVisibilityConventionTest.cs (2)
29action.ApiExplorer.IsVisible = false; 44action.Controller.ApiExplorer.IsVisible = false;
ApplicationModels\ControllerActionDescriptorProviderTests.cs (1)
1946application.ApiExplorer.IsVisible = _isVisible;
ApplicationModels\ControllerModelTest.cs (1)
34controller.ApiExplorer.IsVisible = true;
16 references to IsVisible
ApiExplorerWebSite (1)
ApiExplorerVisibilityEnabledConvention.cs (1)
17if (controller.ApiExplorer.IsVisible == null)
Microsoft.AspNetCore.Mvc.Core (10)
ApplicationModels\ApiExplorerModel.cs (1)
27IsVisible = other.IsVisible;
ApplicationModels\ApiVisibilityConvention.cs (2)
19if (action.Controller.ApiExplorer.IsVisible == null && action.ApiExplorer.IsVisible == null)
ApplicationModels\ApplicationModel.cs (1)
34/// If using <see cref="ApplicationModel.ApiExplorer"/> to set <see cref="ApiExplorerModel.IsVisible"/> to
ApplicationModels\ControllerActionDescriptorBuilder.cs (6)
107action.ApiExplorer?.IsVisible ?? 108controller.ApiExplorer?.IsVisible ?? 109application.ApiExplorer?.IsVisible ?? 113action.ApiExplorer?.IsVisible ?? 114controller.ApiExplorer?.IsVisible ?? 120var isVisibleSetOnApplication = application.ApiExplorer?.IsVisible ?? false;
Microsoft.AspNetCore.Mvc.Core.Test (5)
ApplicationModels\ApiBehaviorApplicationModelProviderTest.cs (2)
75Assert.True(actionModel.ApiExplorer.IsVisible); 118Assert.True(actionModel.ApiExplorer.IsVisible);
ApplicationModels\ApiVisibilityConventionTest.cs (3)
21Assert.True(action.ApiExplorer.IsVisible); 36Assert.False(action.ApiExplorer.IsVisible); 51Assert.Null(action.ApiExplorer.IsVisible);