有人可以解释ASP.NET MVC控制器的格式吗?他们看起来像这样:ASP.NET MVC控制器的注释默认格式
public class ProductsController : Controller
{
//
// GET: /Products/Edit/34
public ActionResult Edit(int id)
{
// ...
}
}
他们为什么不遵循三条斜线和XML标记标准的C#-notation?为什么评论和方法之间的空行?
我我oppinion它应该看起来有些像这样:
public class ProductsController : Controller
{
/// <remarks>
/// GET: /Products/Edit/34
/// </remarks>
public ActionResult Edit(int id)
{
// ...
}
}