1、什么是辅助器

  它们可以对代码块和标记进行打包,以便能够在mvc框架应用程序中重用。可以理解成编写在页面上的C#代码(方法)。

2 、自定义辅助器

 创建“基本”的mvc示例,并创建Basic控制器,及index视图

Basic控制器

 public class BasicController : Controller
{
public ActionResult Index()
{
ViewBag.Fruits = new string[] { "苹果", "橘子", "梨子" };
ViewBag.Citys = new string[] { "北京", "沈阳", "广州" };
string message = "这是一个Html元素标签:<input>";
return View((object)message);
}
}

Index页面

1)普通方式

     <div title="普通方式">
<div>
水果类:
<ul>
@foreach (string str in (string[])ViewBag.Fruits)
{
<li>@str</li>
}
</ul>
</div>
<div>
城市类:
<ul>
@foreach (string str in (string[])ViewBag.Citys)
{
<li>@str</li>
}
</ul>
</div>
<div>
信息:
<p>@Model</p>
</div>
</div>

2)内联辅助器方法

内联辅助器具有方法名和参数,这个例子定义了ListArrayItems的辅助器,它是没有返回值,结果直接输出到客户端的响应中,只需要修改ListArrayItems里的内容即可。

定义辅助器方法

@helper ListArrayItems(string[] items) {
foreach (string str in items) {
<li>@str</li>
}
}

页面调用

        <div title="内联辅助器">
<div>
水果类:
<ul>
@ListArrayItems(ViewBag.Fruits)
</ul>
</div>
<div>
城市类:
<ul>
@ListArrayItems(ViewBag.Citys)
</ul>
</div>
<div>
信息:
<p>@Model</p>
</div>
</div>

3)外部辅助器方法

创建一个类文件

    public static class CustomHelpers
{
public static MvcHtmlString ListArrayItems(this HtmlHelper html, string[] list) {
TagBuilder tag = new TagBuilder("ul");
foreach (string str in list) {
TagBuilder itemTag = new TagBuilder("li");
itemTag.SetInnerText(str);
tag.InnerHtml += itemTag.ToString();
}
return new MvcHtmlString(tag.ToString());
}
}

返回了 MvcHtmlString 类型,this HtmlHelper html 表示这是一个扩展方法,TagBulider创建html元素,不用使用大量转意符、尖括号等,非常方便。

调用外部辅助器首先要引用命名空间,然后调用方法如下:

引用命令空间

@using StudyMVC4.Helpers
  <div title="外部辅助器">
<div>
水果类:
@Html.ListArrayItems((string[])ViewBag.Fruits)
</div>
<div>
城市类:
@Html.ListArrayItems((string[])ViewBag.Citys)
</div>
<div>
信息:
<p>@Model</p>
</div>
</div>

整合一下index页面

@{
ViewBag.Title = "Index";
}
@helper ListArrayItems(string[] items) {
foreach (string str in items) {
<li>@str</li>
}
}
@using StudyMVC4.Helpers
<!DOCTYPE>
<html>
<head>
<title>辅助器方法</title>
</head>
<body>
<div title="普通方式">
<h3>普通方式:</h3>
<div>
水果类:
<ul>
@foreach (string str in (string[])ViewBag.Fruits)
{
<li>@str</li>
}
</ul>
</div>
<div>
城市类:
<ul>
@foreach (string str in (string[])ViewBag.Citys)
{
<li>@str</li>
}
</ul>
</div>
<div>
信息:
<p>@Model</p>
</div>
</div>
<hr />
<div title="内联辅助器">
<h3>内联辅助器:</h3>
<div>
水果类:
<ul>
@ListArrayItems(ViewBag.Fruits)
</ul>
</div>
<div>
城市类:
<ul>
@ListArrayItems(ViewBag.Citys)
</ul>
</div>
<div>
信息:
<p>@Model</p>
</div>
</div>
<hr />
<div title="外部辅助器">
<h3>外部辅助器:</h3>
<div>
水果类:
@Html.ListArrayItems((string[])ViewBag.Fruits)
</div>
<div>
城市类:
@Html.ListArrayItems((string[])ViewBag.Citys)
</div>
<div>
信息:
<p>@Model</p>
</div>
</div>
</body>
</html>

3、运行结果

1)普通方式

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQ8AAAFtCAIAAACWcXg4AAAUZUlEQVR4nO3dK3Prvr7Gcb2DlhUWLrhgYWCh4YItW7AwL0Ews1FhoWHBf88EHBCowzIHFQaanJnAQG/gmyRL9s+JnSrd38/MmllJnEsTPdbFtqRKADLquz8AcDNICyBFWgAp0gJIkRZASpSWwuTv679ZtjEn++7Dx59V9nf9npvCe8Jx/64/D9X/T8dxpzLmdDzst/n7un25SQ75y2q1Wq3etkVZluXxa2vOeRmgLEtp3XL4eFZKKfW02ffv026GTvv354fqgf2pLIs8U2Oy3I9ba7/5XW3z23prsebNs/xQHrd/HwMfFxAbSIuknHu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5EVJf+zt2R0Wb0X36seIbr588z7jZxzUL6wioB6R+VC+3t1/dB1uyh4FmfAnsbK3fTAwL91zVB8cXtGCKd+aP5c42sG+QqNErkeQzy40wGFvB2saWcwB9YPf8f6mDuLebf86MyfJ8rgNc2aMninr7HQ/Wl7zq7bPncPe3LZGxiF28v3rNIm9IvesmbwDiB0DM5PMnxSxqYM/vJAERb8cP0ZN4vt+t7N79XYp/OFoqiRK3bIEJ6zNbDPiTRKjfpdN96txfbSwBH58xyMk8E6ouvag10yVLssJ1eY0uQcVS4qFSX/GdxFWP1KU2oG/4y1KThRhu4OoTT1m4I6qXs0tKmLHtmfWxSV7rR0gERJohvBewV+G6L5Bf1mkvtZW4b2xu8VMjhrXuFEnwzWpr0tX1XrT6VbyeVkcH+3YTWi2zqzpjyql0vjyqmcixelfPWhDe7TnNT5WZz1jk8PkMHOgQIy1N/wWhmGHqvPABnqUqbdQ/t03bLLYq0yNEvojtNkvPLZKcZtN8razkperMOoHWj/RbzT4ft2HZ0BMV2G6TVDdYDz1gxW+7PNMzcOQvXzjHasVAYvcfJ+RWt74erUO+XON6i35Xce2K0N5wT4h26nVDMmDUNzhk4Zmo1y57ONWFwmZwg1juS9rszvJ9QMfXKMlaGxfkCG1oNuRqhUCd7yZsw7/S6u296Xc1tWPrfuTeqWwe/+8DMgpyOqtVujeme+3qR6h+0/ULMiKHvoyzbs6mWwipC6j/RqGVrs8M5ao9PEjpfqKFqaHdqEQq5+GaiYQp1JLT/cRBkCxzuqmWSsyrK9hV5GWaMSammtXYV3naHsDh8U0G5kdne7z3S8U/u0ZibcIZo3foxqjbo0LDuOTDWHdhrsFPWKu672evcZcFjDbzgpkb8JtQxpogcGdnEqblwHhFmRDOPPpVO01T9xIIec83LAalmzDADfCjIACMgAsFqQAUBABgABGQAEZAAQkAFA+D/f+Ecz5FcdiAAAAABJRU5ErkJggg==" alt="" width="239" height="238" />

3)外部辅助器

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQEAAA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3FupmsdGZEt/ogNX+ch2wfj5no/nV9vy6ZiPcPO1JRa5/3mkrhdPKFt8Xec96wDoB3zkY38TwdQRdB+ztngLL++L2NWZi2vW53c/lvKfxgZLESf86HPCvLup5zxtxCov2WTPMtc36Vs8Z2RP6j3NAO6Phjb4eB5p3UosH3NKcHFUKMpZk/xncx9d8ObfUA/YPFTLvRge6u3aKwm7v8aztpOCiLXHk+5klkFIm0KeRZBl3YnYCdovB/YB2W8h8re5AuIU7wQFjz4EqDHBAO6J1wElV+610m/h3Dpjf27D6z2yCaQv4tNtlC8qoiusHyrn21AZ3St7Ue1n/6h2vHuCAnt94HGg/4VQHhp5rVQ11oC1Twtbpv9I9Ox9idcAtjzt+HWGVxkahrSuh6jYtMdFOow398Ddi/Ry2ZtPoDIjbHbi9HmhOcJZ6QGtbhqwyf35fJTyjFJE6YCVF1reoHc9feVq/tPEJ2mPZ/QF6k8L4AexT19OlGROCoflApwNuy9t4rROLD80HfC0g+VxXMvcM9UCfE2MdcPb3OBA8aTcwZQVgbXdD3ehBMZW2PpzZfLK5d79QtwN2j4ad3RhdSsGeiuaZm/uF2vcJfy9usa961lX7NHoHtAKj7eSc7EBACuvHcro/9DBpziLQtuDCF2ntQ0815OsWCnxxNzrgOd9RbSGhVY3hZriKMqfKCTTJBuNeH1Dd2IPi2AzI7u7ymb7jW3unZsbfo1k5X0azR1v2qS4g0aztXHh7Na3Crast3v0LGMTwHd6Um8+G4UCR8YHxXP8Cdy7x/UTkwPif0CjI2q/YkxbO2Y0fLRE6AMBDgQOAOnAAgBiAA4A6cABQBw4A6sABQB04AKjzPzwTRsrHF7WQAAAAAElFTkSuQmCC" alt="" width="243" height="267" />

mvc4自定义辅助器方法的学习的更多相关文章

  1. Creating Custom Helper Methods 创建自定义辅助器方法----辅助器方法 ------ 精通ASP.NET MVC 5

    创建内联的辅助器方法 和 拓展方法 好像类似的功能. 不过写在前台更直观

  2. 011_URL和Ajax辅助器方法

    创建基本的链接和URL 在我们介绍链接或URL之前先做一些准备,我们这部分要介绍的知识将要使用的项目就是之前建立的HelperMethods项目,现在需要先为其添加一个People控制器,并在其中定义 ...

  3. ElasticSearch教程——自定义分词器(转学习使用)

    一.分词器 Elasticsearch中,内置了很多分词器(analyzers),例如standard(标准分词器).english(英文分词)和chinese(中文分词),默认是standard. ...

  4. MVC使用内建的Form辅助器方法创建Select元素

    第一种方法: List<SelectListItem> statusItems = new List<SelectListItem>();            statusI ...

  5. 使用整体模型模板辅助器 Using Whole-Model Templated Helpers 模板辅助器方法 精通ASP.NET MVC 5

    怎么会

  6. Creating Form Elements --Using BeginForm and EndForm 使用内建的Form辅助器方法 精通ASP.NET MVC 5

    Using the BeginForm and EndForm Helper Methods in the CreatePerson.cshtml File

  7. MVC:添加Html辅助器

    本文的方法来自 <精通asp.net Mvc5>. 一.添加视图模型 为了支持Html辅助器方法,可以把可用页面数,当前面,以及存储库中产品数等信息传递给视图.在Model文件夹内增加一个 ...

  8. SpringMVC拦截器与SpringBoot自定义拦截器

    首先我们先回顾一下传统拦截器的写法: 第一步创建一个类实现HandlerInterceptor接口,重写接口的方法. 第二步在XML中进行如下配置,就可以实现自定义拦截器了 SpringBoot实现自 ...

  9. Java虚拟机JVM学习06 自定义类加载器 父委托机制和命名空间的再讨论

    Java虚拟机JVM学习06 自定义类加载器 父委托机制和命名空间的再讨论 创建用户自定义的类加载器 要创建用户自定义的类加载器,只需要扩展java.lang.ClassLoader类,然后覆盖它的f ...

随机推荐

  1. linux查看历史操作记录并且显示执行时间

    vim  ~/.bashrc 或者 ~/.bash_profile 增加:export HISTTIMEFORMAT="%F %T  " 查看历史记录之前先执行: 然后使用hist ...

  2. python中的print()、str()和repr()的区别

    print()函数,我们可以看出,在Python IDLE中直接输入的字符串都是有类型的,而print打印后的字符串相当于一串文字,把字符串的引号也省略了,没有类型 print()函数,生成可读性更好 ...

  3. java环境变量怎么配置

    我们在学习java的时候,必须先来配置一下java的环境变量,也许你不懂什么是java环境变量,我们也不需要懂,你只要知道,java环境变量配置好了,你的电脑就能编译和运行java程序了,这显然是你想 ...

  4. L1-044. 稳赢

    这种题不是考思维,就是考你细心程度还有基础知识的,代码如下: #include <iostream> #include <string> using namespace std ...

  5. leecode第五题(最长回文子串)

    class Solution { public: string longestPalindrome(string s) { int len = s.length(); || len == ) retu ...

  6. 生成pyd文件时提示“Unable to find vcvarsall.bat”的问题

    本文内容 Unable to find vcvarsall.bat的问题描述 问题分析 总结 一.问题描述 我们在windows下通过pip安装一些外部Python 模块(比如,pycrypto)时通 ...

  7. Java访问Redis

    Redis的数据类型总共有如下几种 1.String(字符串) 2.List(列表),字符串列表,有序 3.Hash(哈希),可以存储类似于数据库的表结构 4.Set(集合),无序,不可重复 5.ZS ...

  8. google搜索小技巧

    google搜索小技巧 一.总结 一句话总结:But most people may not be using Google search to its full potential.Want to ...

  9. centos php5.4 升级 php7

    接上篇,edusoho需要php5.5以上版本,于是需要升级本地php php是通过yum默认安装的.以下安装参考 link https://blog.csdn.net/u012569217/arti ...

  10. Dynamic Binding

    调用方法时,如何决定调用对象还是其父类的方法呢? 在JVM中,根据实际类型(actual type)调用.而非声明类型(declared type),如果实际类型的类中没有该方法,就会沿着inheri ...