Welcome to mirror list, hosted at ThFree Co, Russian Federation.

7.0-preview6_Microsoft.AspNetCore.Mvc.ApplicationModels.md « Microsoft.AspNetCore.App « preview6 « api-diff « preview « 7.0 « release-notes - github.com/dotnet/core.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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);
     }
 }
```