23 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.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.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];