我使用剃刀引擎制作一个ASP.NET MVC应用程序。
我想知道是否可以在视图中使用 Regions。
我想知道是否可以在视图中使用 Regions。
就像是:
#region blabla <p>@Model.Name</p> <p>...</p> #endregion
这不工作。有另一种方法吗?
解决方法
选择需要转换为区域的零件,然后右键单击并按CollapseTag
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。