string inputFile,
HttpContext context)
{
- Type tmpType = PageMapper.GetObjectType(virtualPath);\r
- if (tmpType == null)\r
- throw new InvalidOperationException ("Documentation page '" + virtualPath + "' not found");\r
- Object obj = Activator.CreateInstance(tmpType);\r
+ Type tmpType = PageMapper.GetObjectType(context, virtualPath);
+ if (tmpType == null)
+ throw new InvalidOperationException ("Documentation page '" + virtualPath + "' not found");
+ Object obj = Activator.CreateInstance(tmpType);
return (IHttpHandler) obj;
}