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

Closed

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?

Activity

  1. added this to the 2.0.0 milestone on Oct 17, 2016
  2. Eilon commented on Oct 17, 2016

    @Eilon
    Contributor

    We can fix in 2.0.0.

  3. modified the milestones: 2.0.0, on Dec 19, 2016
  4. dougbu commented on Mar 27, 2017

    @dougbu
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions