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

github.com/dotnet/core.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release-notes/7.0/preview/api-diff/preview6/Microsoft.AspNetCore.App/7.0-preview6_Microsoft.AspNetCore.Mvc.Routing.md')
-rw-r--r--release-notes/7.0/preview/api-diff/preview6/Microsoft.AspNetCore.App/7.0-preview6_Microsoft.AspNetCore.Mvc.Routing.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/release-notes/7.0/preview/api-diff/preview6/Microsoft.AspNetCore.App/7.0-preview6_Microsoft.AspNetCore.Mvc.Routing.md b/release-notes/7.0/preview/api-diff/preview6/Microsoft.AspNetCore.App/7.0-preview6_Microsoft.AspNetCore.Mvc.Routing.md
new file mode 100644
index 00000000..7b8722aa
--- /dev/null
+++ b/release-notes/7.0/preview/api-diff/preview6/Microsoft.AspNetCore.App/7.0-preview6_Microsoft.AspNetCore.Mvc.Routing.md
@@ -0,0 +1,20 @@
+# Microsoft.AspNetCore.Mvc.Routing
+
+``` diff
+ namespace Microsoft.AspNetCore.Mvc.Routing {
+ [AttributeUsageAttribute(64, AllowMultiple=true, Inherited=true)]
+ public abstract class HttpMethodAttribute : Attribute, IActionHttpMethodProvider, IRouteTemplateProvider {
+- public HttpMethodAttribute(IEnumerable<string> httpMethods, string? template);
++ public HttpMethodAttribute(IEnumerable<string> httpMethods, [StringSyntaxAttribute("Route")] string? template);
+- public string Template { [CompilerGeneratedAttribute] get; }
++ [StringSyntaxAttribute("Route")]
++ public string Template { [CompilerGeneratedAttribute] get; }
+ }
+ public interface IRouteTemplateProvider {
+- string Template { get; }
++ [StringSyntaxAttribute("Route")]
++ string Template { get; }
+ }
+ }
+```
+