Remove `using` for Microsoft.AspNet.Mvc.Razor namespace from views

- eventually will clean up IntelliSense -- removing classes users don't
  need when editing a view
- will _not_ cleanup IntelliSense 'til VS stops using a private copy of
  Microsoft.AspNet.Mvc.Razor.Host.dll or we update that copy
- all tests and MVC sample views still work fine
- issue #969
This commit is contained in:
dougbu 2014-08-21 14:26:40 -07:00
Родитель 791518d44d
Коммит 7a1242f162
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -22,8 +22,7 @@ namespace Microsoft.AspNet.Mvc.Razor
"System.Linq",
"System.Collections.Generic",
"Microsoft.AspNet.Mvc",
"Microsoft.AspNet.Mvc.Razor",
"Microsoft.AspNet.Mvc.Rendering"
"Microsoft.AspNet.Mvc.Rendering",
};
private readonly MvcRazorHostOptions _hostOptions;
@ -51,7 +50,7 @@ namespace Microsoft.AspNet.Mvc.Razor
writeLiteralMethodName: "WriteLiteral",
writeToMethodName: "WriteTo",
writeLiteralToMethodName: "WriteLiteralTo",
templateTypeName: "HelperResult",
templateTypeName: "Microsoft.AspNet.Mvc.Razor.HelperResult",
defineSectionMethodName: "DefineSection")
{
ResolveUrlMethodName = "Href"