blob: 0a696677e06356eea1a05ec93199a76090154ab8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Microsoft.AspNetCore.Mvc.ApplicationModels
``` diff
namespace Microsoft.AspNetCore.Mvc.ApplicationModels {
public class AttributeRouteModel {
- public string Template { [CompilerGeneratedAttribute] get; [CompilerGeneratedAttribute] set; }
+ [StringSyntaxAttribute("Route")]
+ public string Template { [CompilerGeneratedAttribute] get; [CompilerGeneratedAttribute] set; }
- public static string CombineTemplates(string prefix, string template);
+ public static string CombineTemplates([StringSyntaxAttribute("Route")] string prefix, [StringSyntaxAttribute("Route")] string template);
- public static bool IsOverridePattern(string template);
+ public static bool IsOverridePattern([StringSyntaxAttribute("Route")] string template);
- public static string ReplaceTokens(string template, IDictionary<string, string?> values, IOutboundParameterTransformer? routeTokenTransformer);
+ public static string ReplaceTokens([StringSyntaxAttribute("Route")] string template, IDictionary<string, string?> values, IOutboundParameterTransformer? routeTokenTransformer);
}
}
```
|