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