SanSYS

sansys.net: http://goo.gl/92CHdD

Mar 11th, 2015
2,166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.21 KB | None | 0 0
  1. public class BaseDataHandler<T> : IRouteHandler
  2.                         where T : IHttpHandler, new()
  3. {
  4.     public IHttpHandler GetHttpHandler(RequestContext requestContext)
  5.     {
  6.         return new T();
  7.     }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment