You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
633 B
37 lines
633 B
<?xml version="1.0"?> |
|
<Template author="Matt Ward" version="1.0"> |
|
|
|
<Config |
|
name="MVC Controller" |
|
icon="C#.File.NewClass" |
|
category="C#" |
|
subcategory="ASP.NET MVC" |
|
defaultname="Controller${Number}.cs" |
|
language="C#"/> |
|
|
|
<Description>MVC Controller</Description> |
|
|
|
<Files> |
|
<File name="${FullName}" language="C#"> |
|
<![CDATA[${StandardHeader.C#} |
|
using System; |
|
using System.Web.Mvc; |
|
|
|
namespace ${StandardNamespace} |
|
{ |
|
/// <summary> |
|
/// Description of ${ClassName}. |
|
/// </summary> |
|
public class ${ClassName} : Controller |
|
{ |
|
public ActionResult Index() |
|
{ |
|
return View(); |
|
} |
|
} |
|
} |
|
]]> |
|
</File> |
|
</Files> |
|
</Template> |
|
|
|
|