Go to file
N. Taylor Mullen c400289de5 Change `DefaultTagHelperContent` to be smart about single content entries.
- Today `TagHelperContent`s always allocate their underlying buffer even though they typically only ever have a single entry. Added a field to enable us to only allocate the backing buffer when we absolutely need to.
- Removed `IsEmpty` from `TagHelperContent` since it was not used in any of our `TagHelper`s for simplification. Changed `IsWhiteSpace` naming to be `IsEmptyOrWhiteSpace` since it can be used to indicate either state.
- Updated tests.

#621
2016-04-05 16:09:06 -07:00
src Change `DefaultTagHelperContent` to be smart about single content entries. 2016-04-05 16:09:06 -07:00
test Change `DefaultTagHelperContent` to be smart about single content entries. 2016-04-05 16:09:06 -07:00
tools
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json Ignore doc comments for VSRC1 projects 2016-04-04 16:57:19 -07:00
README.md
Razor.sln Add Visual Studio specific RC1 binaries. 2016-04-04 15:20:38 -07:00
appveyor.yml
build.cmd
build.ps1
build.sh
global.json

README.md

Razor

AppVeyor: AppVeyor

Travis: Travis

The Razor syntax provides a fast, terse, clean and lightweight way to combine server code with HTML to create dynamic web content. This repo contains the parser and the C# code generator for the Razor syntax.

This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the Home repo.