~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/addins/AspNet/MonoDevelop.AspNet.Mvc/CodeTemplates/AddView/Empty.tt

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<#@ template language="C#v3.5" HostSpecific="true" #>
2
 
<#
3
 
MvcTextTemplateHost mvcHost = (MvcTextTemplateHost) Host;
4
 
string dataTypeString = mvcHost.ViewDataTypeGenericString;
5
 
 
6
 
if (mvcHost.IsViewUserControl) { #>
7
 
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<#= dataTypeString #>" %>
8
 
 
9
 
<# } else if (mvcHost.IsViewContentPage) { #>
10
 
<%@ Page Language="C#" MasterPageFile="<#= mvcHost.MasterPage #>" Inherits="System.Web.Mvc.ViewPage<#= dataTypeString #>" %>
11
 
<#
12
 
        foreach (string contentID in mvcHost.ContentPlaceHolders) {
13
 
#>
14
 
<asp:Content ID="<#= contentID #>Content" ContentPlaceHolderID="<#= contentID #>" runat="server">
15
 
</asp:Content>
16
 
<#
17
 
        }
18
 
} else if(mvcHost.IsViewPage)  { #>
19
 
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<#= dataTypeString #>" %>
20
 
<html xmlns="http://www.w3.org/1999/xhtml">
21
 
<head runat="server">
22
 
        <title></title>
23
 
</head>
24
 
<body>
25
 
        <div>
26
 
                
27
 
        </div>
28
 
</body>
29
 
<# } #>
 
 
b'\\ No newline at end of file'