9 implementations of IOutboundParameterTransformer
Microsoft.AspNetCore.Mvc.Core.Test (3)
ApplicationModels\RouteTokenTransformerConventionTest.cs (1)
56private class TestParameterTransformer : IOutboundParameterTransformer
Routing\ActionEndpointDataSourceBaseTest.cs (1)
156private class UpperCaseParameterTransform : IOutboundParameterTransformer
Routing\ActionEndpointFactoryTest.cs (1)
499private class UpperCaseParameterTransform : IOutboundParameterTransformer
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
ApplicationModels\PageRouteTransformerConventionTest.cs (1)
43private class TestParameterTransformer : IOutboundParameterTransformer
src\Mvc\Mvc.Core\test\Routing\ActionEndpointDataSourceBaseTest.cs (1)
156private class UpperCaseParameterTransform : IOutboundParameterTransformer
Microsoft.AspNetCore.Routing.Tests (2)
TestObjects\SlugifyParameterTransformer.cs (1)
8public class SlugifyParameterTransformer : IOutboundParameterTransformer
TestObjects\UpperCaseParameterTransform.cs (1)
6public class UpperCaseParameterTransform : IOutboundParameterTransformer
Mvc.RoutingWebSite (1)
TestParameterTransformer.cs (1)
8public class SlugifyParameterTransformer : IOutboundParameterTransformer
RoutingSandbox (1)
SlugifyParameterTransformer.cs (1)
8public class SlugifyParameterTransformer : IOutboundParameterTransformer
27 references to IOutboundParameterTransformer
Microsoft.AspNetCore.Mvc.Core (8)
ApplicationModels\ActionModel.cs (2)
113/// Gets or sets an <see cref="IOutboundParameterTransformer"/> that will be used to transform 122public IOutboundParameterTransformer? RouteParameterTransformer { get; set; }
ApplicationModels\AttributeRouteModel.cs (1)
264public static string ReplaceTokens([StringSyntax("Route")] string template, IDictionary<string, string?> values, IOutboundParameterTransformer? routeTokenTransformer)
ApplicationModels\RouteTokenTransformerConvention.cs (5)
10/// to use the specified <see cref="IOutboundParameterTransformer"/> on <see cref="ActionModel"/>. 15private readonly IOutboundParameterTransformer _parameterTransformer; 18/// Creates a new instance of <see cref="RouteTokenTransformerConvention"/> with the specified <see cref="IOutboundParameterTransformer"/>. 20/// <param name="parameterTransformer">The <see cref="IOutboundParameterTransformer"/> to use with attribute routing token replacement.</param> 21public RouteTokenTransformerConvention(IOutboundParameterTransformer parameterTransformer)
Microsoft.AspNetCore.Mvc.Core.Test (2)
ApplicationModels\ActionModelTest.cs (1)
77action.RouteParameterTransformer = Mock.Of<IOutboundParameterTransformer>();
ApplicationModels\RouteTokenTransformerConventionTest.cs (1)
66public CustomRouteTokenTransformerConvention(IOutboundParameterTransformer parameterTransformer) : base(parameterTransformer)
Microsoft.AspNetCore.Mvc.RazorPages (7)
ApplicationModels\PageRouteModel.cs (2)
114/// Gets or sets an <see cref="IOutboundParameterTransformer"/> that will be used to transform 123public IOutboundParameterTransformer? RouteParameterTransformer { get; set; }
ApplicationModels\PageRouteTransformerConvention.cs (5)
10/// to use the specified <see cref="IOutboundParameterTransformer"/> on <see cref="PageRouteModel"/>. 15private readonly IOutboundParameterTransformer _parameterTransformer; 18/// Creates a new instance of <see cref="PageRouteTransformerConvention"/> with the specified <see cref="IOutboundParameterTransformer"/>. 20/// <param name="parameterTransformer">The <see cref="IOutboundParameterTransformer"/> to use resolve page routes.</param> 21public PageRouteTransformerConvention(IOutboundParameterTransformer parameterTransformer)
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\PageRouteTransformerConventionTest.cs (1)
53public CustomPageRouteTransformerConvention(IOutboundParameterTransformer parameterTransformer) : base(parameterTransformer)
Microsoft.AspNetCore.Routing (8)
Matching\DfaMatcherBuilder.cs (1)
481if (parameterPolicy is IOutboundParameterTransformer parameterTransformer)
Template\DefaultTemplateBinderFactory.cs (1)
52if (!foundTransformer && parameterPolicy is IOutboundParameterTransformer parameterTransformer)
Template\TemplateBinder.cs (6)
27private readonly (string parameterName, IOutboundParameterTransformer transformer)[] _parameterTransformers; 130out (string parameterName, IOutboundParameterTransformer transformer)[] parameterTransformers) 133List<(string parameterName, IOutboundParameterTransformer transformer)>? parameterTransformerList = null; 143if (p.policy is IOutboundParameterTransformer transformer) 151parameterTransformers = parameterTransformerList?.ToArray() ?? Array.Empty<(string, IOutboundParameterTransformer)>(); 506(var parameterName, var transformer) = parameterTransformers[i];
Mvc.RoutingWebSite (1)
ControllerRouteTokenTransformerConvention.cs (1)
12public ControllerRouteTokenTransformerConvention(Type controllerType, IOutboundParameterTransformer parameterTransformer)