From e12122ec76423c6625ebdaec9e7ddfe127e33d66 Mon Sep 17 00:00:00 2001 From: harshgMSFT Date: Wed, 13 Aug 2014 11:57:56 -0700 Subject: [PATCH] Fixing doc comment. --- .../Constraints/DateTimeRouteConstraint.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Microsoft.AspNet.Routing/Constraints/DateTimeRouteConstraint.cs b/src/Microsoft.AspNet.Routing/Constraints/DateTimeRouteConstraint.cs index 93b6130dc5..f8c5e656f0 100644 --- a/src/Microsoft.AspNet.Routing/Constraints/DateTimeRouteConstraint.cs +++ b/src/Microsoft.AspNet.Routing/Constraints/DateTimeRouteConstraint.cs @@ -10,8 +10,13 @@ namespace Microsoft.AspNet.Routing.Constraints { /// /// Constrains a route parameter to represent only values. - /// Supports date time formats represented by CultureInfo.DateTimeFormat for the CultureInfo.InvariantCulture. /// + /// + /// This constraint tries to parse strings by using all of the formats returned by the + /// CultureInfo.InvariantCulture.DateTimeFormat.GetAllDateTimePatterns() method. + /// For a sample on how to list all formats which are considered, please visit + /// http://msdn.microsoft.com/en-us/library/aszyst2c(v=vs.110).aspx + /// public class DateTimeRouteConstraint : IRouteConstraint { ///