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