diff options
Diffstat (limited to 'release-notes/7.0/preview/api-diff/preview6/Microsoft.AspNetCore.App/7.0-preview6_Microsoft.AspNetCore.Mvc.ApplicationModels.md')
-rw-r--r-- | release-notes/7.0/preview/api-diff/preview6/Microsoft.AspNetCore.App/7.0-preview6_Microsoft.AspNetCore.Mvc.ApplicationModels.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/release-notes/7.0/preview/api-diff/preview6/Microsoft.AspNetCore.App/7.0-preview6_Microsoft.AspNetCore.Mvc.ApplicationModels.md b/release-notes/7.0/preview/api-diff/preview6/Microsoft.AspNetCore.App/7.0-preview6_Microsoft.AspNetCore.Mvc.ApplicationModels.md new file mode 100644 index 00000000..0a696677 --- /dev/null +++ b/release-notes/7.0/preview/api-diff/preview6/Microsoft.AspNetCore.App/7.0-preview6_Microsoft.AspNetCore.Mvc.ApplicationModels.md @@ -0,0 +1,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); + } + } +``` + |