Commit Graph

5 Commits

Author SHA1 Message Date
N. Taylor Mullen fe563b1459 Rename `HtmlEncodedString` => `HtmlString`.
- This rename makes the type more consistent with its `HtmlContentBuilder` counterparts (`AppendHtml`).

#25
2016-05-17 11:11:10 -07:00
ryanbrandenburg fd10621c1a SetContent->SetHtmlContent 2016-03-25 12:01:59 -07:00
Ryan Nowak 2705510508 Add Copy/Move for content - Remove HtmlTextWriter
Currently we overload the definition of WriteTo on IHtmlContent
implementation classes to either represent a "real" write or a "flatten"
by checking if the writer inherits HtmlText writer.

This overloading is a bit of an odd fit and hides the real semantic we
want for flattening.

Additionally, we want to gradually make the concept of a pooled
backing-buffer for IHtmlContent first-class - using pooled buffers
dictates that we support move-semantics to some degree.

This change makes the work that we do for flattening into pooled buffers
explicit rather than hidden.
2016-03-04 07:52:14 -08:00
N. Taylor Mullen 79558ae8d3 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:19:23 -08:00
N. Taylor Mullen c564dfd202 Rename AspNet 5 folders and files.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:19:22 -08:00