Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

29 lines
692 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.DynamicData;
namespace MonoTests.Common
{
class MyDynamicDataRouteHandler : DynamicDataRouteHandler
{
public string DoGetCustomPageVirtualPath (MetaTable table, string viewName)
{
return GetCustomPageVirtualPath (table, viewName);
}
public string DoGetScaffoldPageVirtualPath (MetaTable table, string viewName)
{
return GetScaffoldPageVirtualPath (table, viewName);
}
public override IHttpHandler CreateHandler (DynamicDataRoute route, MetaTable table, string action)
{
return new Page () as IHttpHandler;
}
}
}