Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Parameter in IHtmlHelper.TextBox() has an inconsistent parameter name #5394

@dougbu

Description

@dougbu

Problem introduced in 8eb6327 which was (of course) intended to "Make HTML helper parameter names consistent".

The IHtmlHelper.TextBox() method has the following signature

IHtmlContent TextBox(string current, object value, string format, object htmlAttributes);

All other methods in the IHtmlHelper interface use expression for parameters with the same purpose as current. TextBox() extensions in HtmlHelperInputExtensions also have expression parameters. IHtmlHelper.TextBox() is the only oddball.

Can we take the slight breaking change to fix this sooner than 2.0?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions