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

Expose GetInputType as a protected member of InputTagHelper. #5104

Merged
merged 1 commit into from
Aug 4, 2016

Conversation

NTaylorMullen
Copy link
Contributor

/// <see cref="ModelExplorer.Metadata"/>. Input type hints are typically used to format an
/// &lt;input&gt; elements "value" attribute of a generated text box or used to determine if a text box should
/// be multi-line.</remarks>
protected string GetInputType(ModelExplorer modelExplorer, out string inputTypeHint)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the future, please do not move methods around while making other changes. It makes it harder to see what's really changing. We also aren't that persnickety about order in existing classes and someone could do a pass reordering class members on some future Engineering Day.

@dougbu
Copy link
Member

dougbu commented Aug 3, 2016

@NTaylorMullen
Copy link
Contributor Author

🆙 📅

/// </summary>
/// <param name="modelExplorer">The <see cref="ModelExplorer"/> to use.</param>
/// <param name="inputTypeHint">When this method returns, contains a type hint associated with the given
/// <paramref name="modelExplorer"/>.</param>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Closer to ... contains the string, often the name of a <see cref="ModelMetadata.ModelType"/> base class, used to determine this method's return value.

@dougbu
Copy link
Member

dougbu commented Aug 4, 2016

:shipit: w/ one last comment on a doc comment to update the comment as I've commented.

@NTaylorMullen NTaylorMullen force-pushed the nimullen/inputtype.4979 branch from d71681e to 663f6a1 Compare August 4, 2016 22:38
@NTaylorMullen NTaylorMullen merged commit 663f6a1 into dev Aug 4, 2016
@NTaylorMullen NTaylorMullen deleted the nimullen/inputtype.4979 branch August 4, 2016 22:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants