diff --git a/src/Microsoft.AspNet.Mvc.Core/Rendering/HtmlHelperDisplayNameExtensions.cs b/src/Microsoft.AspNet.Mvc.Core/Rendering/HtmlHelperDisplayNameExtensions.cs index 27aba0b848..aead4fcb00 100644 --- a/src/Microsoft.AspNet.Mvc.Core/Rendering/HtmlHelperDisplayNameExtensions.cs +++ b/src/Microsoft.AspNet.Mvc.Core/Rendering/HtmlHelperDisplayNameExtensions.cs @@ -16,7 +16,7 @@ namespace Microsoft.AspNet.Mvc.Rendering /// Returns the display name for the current model. /// /// The instance this method extends. - /// A containing the display name. + /// A containing the display name. public static string DisplayNameForModel([NotNull] this IHtmlHelper htmlHelper) { return htmlHelper.DisplayName(expression: null); @@ -32,7 +32,7 @@ namespace Microsoft.AspNet.Mvc.Rendering /// The expression to be evaluated against an item in the current model. /// The type of items in the model collection. /// The type of the result. - /// A containing the display name. + /// A containing the display name. public static string DisplayNameFor( [NotNull] this IHtmlHelper> htmlHelper, [NotNull] Expression> expression) diff --git a/src/Microsoft.AspNet.Mvc.Core/Rendering/HtmlHelperNameExtensions.cs b/src/Microsoft.AspNet.Mvc.Core/Rendering/HtmlHelperNameExtensions.cs index 1765112a06..946cfe8022 100644 --- a/src/Microsoft.AspNet.Mvc.Core/Rendering/HtmlHelperNameExtensions.cs +++ b/src/Microsoft.AspNet.Mvc.Core/Rendering/HtmlHelperNameExtensions.cs @@ -12,7 +12,7 @@ namespace Microsoft.AspNet.Mvc.Rendering /// Returns the full HTML element name for the current model. /// /// The instance this method extends. - /// A containing the element name. + /// A containing the element name. public static string NameForModel([NotNull] this IHtmlHelper htmlHelper) { return htmlHelper.Name(name: null); @@ -22,7 +22,7 @@ namespace Microsoft.AspNet.Mvc.Rendering /// Returns the HTML element Id for the current model. /// /// The instance this method extends. - /// A containing the element Id. + /// A containing the element Id. public static string IdForModel([NotNull] this IHtmlHelper htmlHelper) { return htmlHelper.Id(name: null); diff --git a/src/Microsoft.AspNet.Mvc.Core/Rendering/HtmlHelperValueExtensions.cs b/src/Microsoft.AspNet.Mvc.Core/Rendering/HtmlHelperValueExtensions.cs index 24d7e02767..af78126237 100644 --- a/src/Microsoft.AspNet.Mvc.Core/Rendering/HtmlHelperValueExtensions.cs +++ b/src/Microsoft.AspNet.Mvc.Core/Rendering/HtmlHelperValueExtensions.cs @@ -16,9 +16,9 @@ namespace Microsoft.AspNet.Mvc.Rendering /// /// The instance this method extends. /// Expression name, relative to the current model. - /// A containing the formatted value. + /// A containing the formatted value. /// - /// Converts the expression result to a directly. + /// Converts the expression result to a directly. /// public static string Value([NotNull] this IHtmlHelper htmlHelper, string name) { @@ -32,9 +32,9 @@ namespace Microsoft.AspNet.Mvc.Rendering /// The expression to be evaluated against the current model. /// The type of the model. /// The type of the result. - /// A containing the formatted value. + /// A containing the formatted value. /// - /// Converts the result to a directly. + /// Converts the result to a directly. /// public static string ValueFor( [NotNull] this IHtmlHelper htmlHelper, @@ -47,9 +47,9 @@ namespace Microsoft.AspNet.Mvc.Rendering /// Returns the formatted value for the current model. /// /// The instance this method extends. - /// A containing the formatted value. + /// A containing the formatted value. /// - /// Converts the model value to a directly. + /// Converts the model value to a directly. /// public static string ValueForModel([NotNull] this IHtmlHelper htmlHelper) { @@ -61,11 +61,11 @@ namespace Microsoft.AspNet.Mvc.Rendering /// /// The instance this method extends. /// - /// The composite format (see http://msdn.microsoft.com/en-us/library/txafckwd.aspx). + /// The composite format (see http://msdn.microsoft.com/en-us/library/txafckwd.aspx). /// - /// A containing the formatted value. + /// A containing the formatted value. /// - /// Converts the model value to a directly if + /// Converts the model value to a directly if /// is null or empty. /// public static string ValueForModel([NotNull] this IHtmlHelper htmlHelper, string format) diff --git a/src/Microsoft.AspNet.Mvc.Core/Rendering/IHtmlHelper.cs b/src/Microsoft.AspNet.Mvc.Core/Rendering/IHtmlHelper.cs index af73a3005a..a12daa2e09 100644 --- a/src/Microsoft.AspNet.Mvc.Core/Rendering/IHtmlHelper.cs +++ b/src/Microsoft.AspNet.Mvc.Core/Rendering/IHtmlHelper.cs @@ -151,7 +151,7 @@ namespace Microsoft.AspNet.Mvc.Rendering /// Returns the display name for the specified expression . /// /// Expression name, relative to the current model. - /// A containing the display name. + /// A containing the display name. string DisplayName(string expression); /// @@ -159,7 +159,7 @@ namespace Microsoft.AspNet.Mvc.Rendering /// /// Expression name, relative to the current model. /// - /// A containing the simple display text. + /// A containing the simple display text. /// If the expression result is null, returns . /// string DisplayText(string name); @@ -242,7 +242,7 @@ namespace Microsoft.AspNet.Mvc.Rendering /// Returns information about about client validation rules for the given or /// . Intended for use in extension methods. /// - /// Metadata about the of interest. + /// Metadata about the of interest. /// Expression name, relative to the current model. Used to determine /// when is null; ignored /// otherwise. @@ -269,7 +269,7 @@ namespace Microsoft.AspNet.Mvc.Rendering /// Returns the HTML element Id for the specified expression . /// /// Expression name, relative to the current model. - /// A containing the element Id. + /// A containing the element Id. string Id(string name); /// @@ -303,7 +303,7 @@ namespace Microsoft.AspNet.Mvc.Rendering /// Returns the full HTML element name for the specified expression . /// /// Expression name, relative to the current model. - /// A containing the element name. + /// A containing the element name. string Name(string name); /// @@ -483,12 +483,11 @@ namespace Microsoft.AspNet.Mvc.Rendering /// /// Expression name, relative to the current model. /// - /// The composite format - /// (see http://msdn.microsoft.com/en-us/library/txafckwd.aspx). + /// The composite format (see http://msdn.microsoft.com/en-us/library/txafckwd.aspx). /// - /// A containing the formatted value. + /// A containing the formatted value. /// - /// Converts the expression result to a directly if + /// Converts the expression result to a directly if /// is null or empty. /// string Value(string name, string format); diff --git a/src/Microsoft.AspNet.Mvc.Core/Rendering/IHtmlHelperOfT.cs b/src/Microsoft.AspNet.Mvc.Core/Rendering/IHtmlHelperOfT.cs index 5e9eb055ff..6600fa1cc1 100644 --- a/src/Microsoft.AspNet.Mvc.Core/Rendering/IHtmlHelperOfT.cs +++ b/src/Microsoft.AspNet.Mvc.Core/Rendering/IHtmlHelperOfT.cs @@ -58,7 +58,7 @@ namespace Microsoft.AspNet.Mvc.Rendering /// /// The expression to be evaluated against the current model. /// The type of the result. - /// A containing the display name. + /// A containing the display name. string DisplayNameFor([NotNull] Expression> expression); /// @@ -68,7 +68,7 @@ namespace Microsoft.AspNet.Mvc.Rendering /// The expression to be evaluated against an item in the current model. /// The type of items in the model collection. /// The type of the result. - /// A containing the display name. + /// A containing the display name. string DisplayNameForInnerType( [NotNull] Expression> expression); @@ -78,7 +78,7 @@ namespace Microsoft.AspNet.Mvc.Rendering /// The expression to be evaluated against the current model. /// The type of the result. /// - /// A containing the simple display text. + /// A containing the simple display text. /// If the result is null, returns /// . /// @@ -147,7 +147,7 @@ namespace Microsoft.AspNet.Mvc.Rendering /// /// The expression to be evaluated against the current model. /// The type of the result. - /// A containing the element Id. + /// A containing the element Id. string IdFor([NotNull] Expression> expression); /// @@ -189,7 +189,7 @@ namespace Microsoft.AspNet.Mvc.Rendering /// /// The expression to be evaluated against the current model. /// The type of the result. - /// A containing the element name. + /// A containing the element name. string NameFor([NotNull] Expression> expression); /// @@ -272,12 +272,12 @@ namespace Microsoft.AspNet.Mvc.Rendering /// /// The expression to be evaluated against the current model. /// - /// The composite format (see http://msdn.microsoft.com/en-us/library/txafckwd.aspx). + /// The composite format (see http://msdn.microsoft.com/en-us/library/txafckwd.aspx). /// /// The type of the result. - /// A containing the formatted value. + /// A containing the formatted value. /// - /// Converts the result to a directly if + /// Converts the result to a directly if /// is null or empty. /// string ValueFor([NotNull] Expression> expression, string format); diff --git a/src/Microsoft.AspNet.Mvc.ModelBinding/Validation/ModelClientValidationRule.cs b/src/Microsoft.AspNet.Mvc.ModelBinding/Validation/ModelClientValidationRule.cs index bc766bbee8..45a5310e83 100644 --- a/src/Microsoft.AspNet.Mvc.ModelBinding/Validation/ModelClientValidationRule.cs +++ b/src/Microsoft.AspNet.Mvc.ModelBinding/Validation/ModelClientValidationRule.cs @@ -27,7 +27,7 @@ namespace Microsoft.AspNet.Mvc.ModelBinding /// /// Identifier of the . If client-side validation is enabled, default - /// validation attribute generator uses this as part of the generated "data-val" + /// validation attribute generator uses this as part of the generated "data-val" /// attribute name. Must be unique in the set of enabled validation rules. /// public string ValidationType { get; private set; }