1
<#@ template language="C#" HostSpecific="True" #>
2
<#@ output extension=".cshtml" #>
4
MvcTextTemplateHost mvcHost = (MvcTextTemplateHost) Host;
6
if (!String.IsNullOrEmpty (mvcHost.ViewDataTypeString)) {
8
@model <#= mvcHost.ViewDataTypeString #>
13
if (mvcHost.IsViewUserControl) {
16
} else if (mvcHost.IsViewContentPage) {
19
ViewBag.Title = "<#= mvcHost.ItemName#>";
21
if (!String.IsNullOrEmpty (mvcHost.MasterPage)) {
23
Layout = "<#= mvcHost.MasterPage#>";
29
<h2><#= mvcHost.ItemName#></h2>
40
<title><#= mvcHost.ItemName #></title>