Curly's are important

This commit is contained in:
Hao Kung 2015-09-02 16:14:25 -07:00
parent 1d865afe7f
commit bc2bce8bd6
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ namespace Microsoft.AspNet.Mvc.Razor.Compilation
/// </summary>
/// <param name="fileProvider"><see cref="IFileProvider"/> used to locate Razor views.</param>
public CompilerCache([NotNull] IFileProvider fileProvider)
{
_fileProvider = fileProvider;
_cache = new MemoryCache(new MemoryCacheOptions { CompactOnMemoryPressure = false });
}