Commit Graph

19 Commits

Author SHA1 Message Date
Pranav K 0e95ce9a8e Target minimal TFMs 2016-03-12 08:22:32 -08: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
Doug Bunting 67c1dfc43d Remove project name from output path
- aspnet/Coherence-Signed#187
- remove `<RootNamespace>` settings but maintain other unique aspects e.g. `<DnxInvisibleContent ... />`
- in a few cases, standardize on VS version `14.0` and not something more specific
2016-03-02 18:50:26 -08:00
N. Taylor Mullen e8f642df19 Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:29:45 -08:00
John Luo 397cda382b Updating test TFMs for custom test discovery 2016-02-18 17:08:28 -08:00
Kiran Challa 3fa76b26c8 Enable tests to run using dotnet xunit runner 2016-02-09 22:24:32 -08:00
N. Taylor Mullen 9959601c4b Update project.json to remove redundant System.Runtime dependency.
- This package is pulled in transitively.
2016-02-05 17:20:53 -08:00
John Luo 2fd1490c4a Relocating dependencies 2016-02-01 18:33:21 -08:00
John Luo 33629c5fc0 Updating to new CLI 2016-02-01 17:04:37 -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
Victor Hurdugaci d113f7edc9 Build with dotnet 2016-01-07 09:49:14 -08:00
Pranav K 984fe02eb8 Rename IHtmlContentBuilder.Append(IHtmlContent) to IHtmlContentBuilder.AppendHtml(IHtmlContent)
Fixes #4
2015-12-31 10:53:48 -08:00
Pranav K 46f64dfa20 * Remove EncoderServiceProviderExtensions 2015-12-29 18:39:39 -08:00
Pranav K b4239550f3 Move Microsoft.Extensions.WebEncoders to HtmlAbstractions 2015-12-23 09:29:32 -08:00
Doug Bunting 234073cf6e Make `HtmlEncodedString` a suitable base for MVC's `HtmlString`
- #5
- provide `ToString()` implementation
- add missing `null` checks in `WriteTo()`; remove extraneous one in the constructor
- special-case `HtmlEncodedString` in `IHtmlContentBuilder.AppendFormat()` extension method

nits:
- ignore more files
- add missing `null` checks in `HtmlContentBuilderExtensions` too
2015-12-15 15:27:40 -08:00
Pranav K 6b7cd4ac18 Adding System.Runtime to resolve build issue 2015-12-08 14:38:35 -08:00
Doug Bunting 1b0e2e50e1 Restore previous package name: `Microsoft.AspNet.Html.Abstractions`
nit: add a couple of solution items
2015-12-02 09:59:27 -08:00
Pranav K f9661e2bf1 Initial commit 2015-12-01 15:36:17 -08:00