SetContent->SetHtmlContent

This commit is contained in:
ryanbrandenburg 2016-03-25 11:07:12 -07:00
parent 70c0254dc2
commit fd10621c1a
2 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ namespace Microsoft.AspNetCore.Html
/// <param name="builder">The <see cref="IHtmlContentBuilder"/>.</param>
/// <param name="content">The <see cref="IHtmlContent"/> value that replaces the content.</param>
/// <returns>The <see cref="IHtmlContentBuilder"/>.</returns>
public static IHtmlContentBuilder SetContent(this IHtmlContentBuilder builder, IHtmlContent content)
public static IHtmlContentBuilder SetHtmlContent(this IHtmlContentBuilder builder, IHtmlContent content)
{
if (builder == null)
{

View File

@ -104,7 +104,7 @@ namespace Microsoft.AspNetCore.Html.Test
var content = new OtherHtmlContent("Hi");
// Act
builder.SetContent(content);
builder.SetHtmlContent(content);
// Assert
Assert.Collection(