11 writes to SuppressLinkGeneration
ApiExplorerWebSite (1)
ApiExplorerInboundOutboundConvention.cs (1)
36
action.Selectors[0].AttributeRouteModel.
SuppressLinkGeneration
= true;
ApplicationModelWebSite (1)
Controllers\HomeController.cs (1)
53
model.Selectors[0].AttributeRouteModel.
SuppressLinkGeneration
= true;
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\AttributeRouteModel.cs (2)
53
SuppressLinkGeneration
= other.SuppressLinkGeneration;
128
SuppressLinkGeneration
= left.SuppressLinkGeneration || right.SuppressLinkGeneration,
Microsoft.AspNetCore.Mvc.Core.Test (3)
ApplicationModels\AttributeRouteModelTests.cs (3)
18
SuppressLinkGeneration
= true,
305
SuppressLinkGeneration
= leftSuppress,
309
SuppressLinkGeneration
= rightSuppress,
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
src\Mvc\Mvc.RazorPages\src\ApplicationModels\PageRouteModelFactory.cs (1)
69
selectorModel.AttributeRouteModel!.
SuppressLinkGeneration
= true;
Microsoft.AspNetCore.Mvc.RazorPages (2)
ApplicationModels\PageRouteModelFactory.cs (1)
69
selectorModel.AttributeRouteModel!.
SuppressLinkGeneration
= true;
DependencyInjection\PageConventionCollectionExtensions.cs (1)
429
selector.AttributeRouteModel!.
SuppressLinkGeneration
= true;
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
DependencyInjection\PageConventionCollectionExtensionsTest.cs (1)
992
SuppressLinkGeneration
= suppressLinkGeneration
14 references to SuppressLinkGeneration
Microsoft.AspNetCore.Mvc.Core (4)
ApplicationModels\AttributeRouteModel.cs (3)
53
SuppressLinkGeneration = other.
SuppressLinkGeneration
;
128
SuppressLinkGeneration = left.
SuppressLinkGeneration
|| right.
SuppressLinkGeneration
,
ApplicationModels\ControllerActionDescriptorBuilder.cs (1)
206
SuppressLinkGeneration = selectorModel.AttributeRouteModel.
SuppressLinkGeneration
,
Microsoft.AspNetCore.Mvc.Core.Test (2)
ApplicationModels\AttributeRouteModelTests.cs (2)
292
Assert.False(combined.
SuppressLinkGeneration
);
314
Assert.True(combined.
SuppressLinkGeneration
);
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\PageActionDescriptorProvider.cs (1)
99
SuppressLinkGeneration = selector.AttributeRouteModel.
SuppressLinkGeneration
,
Microsoft.AspNetCore.Mvc.RazorPages.Test (7)
DependencyInjection\PageConventionCollectionExtensionsTest.cs (7)
895
Assert.True(selector.AttributeRouteModel.
SuppressLinkGeneration
);
900
Assert.True(selector.AttributeRouteModel.
SuppressLinkGeneration
);
905
Assert.False(selector.AttributeRouteModel.
SuppressLinkGeneration
);
915
Assert.False(selector.AttributeRouteModel.
SuppressLinkGeneration
);
956
Assert.False(selector.AttributeRouteModel.
SuppressLinkGeneration
);
966
Assert.True(selector.AttributeRouteModel.
SuppressLinkGeneration
);
971
Assert.False(selector.AttributeRouteModel.
SuppressLinkGeneration
);