public ProcessRequest ( string httpMethod, string pathInfo, string filePath ) : IHttpHandler | ||
httpMethod | string | |
pathInfo | string | |
filePath | string | |
return | IHttpHandler |
public IHttpHandler ProcessRequest(string httpMethod, string pathInfo, string filePath)
{
var pathParts = pathInfo.TrimStart('/').Split('/');
return pathParts.Length == 0 ? null : GetHandlerForPathParts(pathParts);
}