本文整理汇总了C#中RouteCollection.AddIE6Support方法的典型用法代码示例。如果您正苦于以下问题:C# RouteCollection.AddIE6Support方法的具体用法?C# RouteCollection.AddIE6Support怎么用?C# RouteCollection.AddIE6Support使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类RouteCollection
的用法示例。
在下文中一共展示了RouteCollection.AddIE6Support方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Register
public void Register(RouteCollection routes)
{
routes.AddIE6Support();
routes.Map<HomeController.HomeUrl>(u => "");
routes.Map<PharmaceuticalController.PharmaceuticalAddUrl>(u => "pharma/");
}
示例2: RegisterRoutes
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
// Snooze provides some handy features...
routes.AddVersionedStaticFilesSupport();
routes.AddIE6Support();
routes.FromAssemblyWithType<RouteRegistration>();
}
示例3: RegisterRoutes
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
// Snooze provides some handy features...
routes.AddVersionedStaticFilesSupport();
routes.AddIE6Support();
routes.Map<HomeUrl>(h => "");
routes.Map<BooksUrl>(b => "books");
routes.Map<BookUrl>(b => "book/" + b.BookId);
routes.Map<BookCommentsUrl>(c => "comments");
routes.Map<BookCommentUrl>(c => c.CommentId.ToString());
}