Implemented interface member:
property
ApiExplorer
Microsoft.AspNetCore.Mvc.ApplicationModels.IApiExplorerModel.ApiExplorer
2 writes to ApiExplorer
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\ActionModel.cs (2)
34
ApiExplorer
= new ApiExplorerModel();
65
ApiExplorer
= new ApiExplorerModel(other.ApiExplorer);
20 references to ApiExplorer
Microsoft.AspNetCore.Mvc.Core (12)
ApplicationModels\ActionModel.cs (3)
65
ApiExplorer = 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)
19
if (action.Controller.ApiExplorer.IsVisible == null && action.
ApiExplorer
.IsVisible == null)
22
action.
ApiExplorer
.IsVisible = true;
ApplicationModels\ApplicationModel.cs (1)
32
/// <see cref="ControllerModel.ApiExplorer"/> or <see cref="ActionModel.
ApiExplorer
"/>.
ApplicationModels\ControllerActionDescriptorBuilder.cs (3)
107
action.
ApiExplorer
?.IsVisible ??
113
action.
ApiExplorer
?.IsVisible ??
138
GroupName = 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)
286
actionModel.
ApiExplorer
.IsVisible = !apiVisibility.IgnoreApi;
292
actionModel.
ApiExplorer
.GroupName = apiGroupName.GroupName;
Microsoft.AspNetCore.Mvc.Core.Test (8)
ApplicationModels\ActionModelTest.cs (2)
33
var apiExplorer = action.
ApiExplorer
;
45
Assert.NotSame(apiExplorer, action2.
ApiExplorer
);
ApplicationModels\ApiBehaviorApplicationModelProviderTest.cs (2)
75
Assert.True(actionModel.
ApiExplorer
.IsVisible);
118
Assert.True(actionModel.
ApiExplorer
.IsVisible);
ApplicationModels\ApiVisibilityConventionTest.cs (4)
21
Assert.True(action.
ApiExplorer
.IsVisible);
29
action.
ApiExplorer
.IsVisible = false;
36
Assert.False(action.
ApiExplorer
.IsVisible);
51
Assert.Null(action.
ApiExplorer
.IsVisible);