2010-06-21 Marek Habersack <mhabersack@novell.com>
[mcs.git] / class / System.Web.Mvc / System.Web.Mvc / MvcRouteHandler.cs
blob5d2bbaa4512a6b54964969b790121e72544e024a
1 /* ****************************************************************************
3 * Copyright (c) Microsoft Corporation. All rights reserved.
5 * This software is subject to the Microsoft Public License (Ms-PL).
6 * A copy of the license can be found in the license.htm file included
7 * in this distribution.
9 * You must not remove this notice, or any other, from this software.
11 * ***************************************************************************/
13 namespace System.Web.Mvc {
14 using System.Web.Routing;
16 public class MvcRouteHandler : IRouteHandler {
17 protected virtual IHttpHandler GetHttpHandler(RequestContext requestContext) {
18 return new MvcHandler(requestContext);
21 #region IRouteHandler Members
22 IHttpHandler IRouteHandler.GetHttpHandler(RequestContext requestContext) {
23 return GetHttpHandler(requestContext);
25 #endregion