Quick fix for a build warning
- remove a duplicate using of `System.Collections.Generic` - FYI `k build` command does not detect this problem - nit: also cleanup long lines and align wrapped parameters
This commit is contained in:
parent
ebd54bfc06
commit
42561f14d3
|
|
@ -1,7 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq.Expressions;
|
using System.Linq.Expressions;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Mvc.Rendering
|
namespace Microsoft.AspNet.Mvc.Rendering
|
||||||
|
|
@ -131,15 +130,19 @@ namespace Microsoft.AspNet.Mvc.Rendering
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <returns>New <see cref="HtmlString"/> containing the rendered HTML.</returns>
|
/// <returns>New <see cref="HtmlString"/> containing the rendered HTML.</returns>
|
||||||
HtmlString TextBoxFor<TProperty>([NotNull] Expression<Func<TModel, TProperty>> expression, string format,
|
HtmlString TextBoxFor<TProperty>([NotNull] Expression<Func<TModel, TProperty>> expression, string format,
|
||||||
IDictionary<string, object> htmlAttributes);
|
IDictionary<string, object> htmlAttributes);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns an unordered list (ul element) of validation messages that are in the <see cref="ModelStateDictionary"/> object.
|
/// Returns an unordered list (ul element) of validation messages that are in the
|
||||||
|
/// <see cref="ModelStateDictionary"/> object.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="excludePropertyErrors">true to have the summary display model-level errors only, or false to have the summary display all errors.</param>
|
/// <param name="excludePropertyErrors">true to have the summary display model-level errors only, or false to
|
||||||
|
/// have the summary display all errors.</param>
|
||||||
/// <param name="message">The message to display with the validation summary.</param>
|
/// <param name="message">The message to display with the validation summary.</param>
|
||||||
/// <param name="htmlAttributes">A dictionary that contains the HTML attributes for the element.</param>
|
/// <param name="htmlAttributes">A dictionary that contains the HTML attributes for the element.</param>
|
||||||
/// <returns>An <see cref="HtmlString"/> that contains an unordered list (ul element) of validation messages.</returns>
|
/// <returns>An <see cref="HtmlString"/> that contains an unordered list (ul element) of validation messages.
|
||||||
HtmlString ValidationSummary(bool excludePropertyErrors, string message, IDictionary<string, object> htmlAttributes);
|
/// </returns>
|
||||||
|
HtmlString ValidationSummary(bool excludePropertyErrors, string message,
|
||||||
|
IDictionary<string, object> htmlAttributes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue