public void ForwardToHttpContext <T>(HttpContext httpContext, Action <T> action) where T : class { var instance = ProxyCreator.CreateInstanceFromInterface <T>(new ServerProxyCreatorHelper(this, httpContext)); action(instance); }
public T GetTypedMethods <T>() where T : class { var instance = ProxyCreator.CreateInstanceFromInterface <T>(new ServerProxyCreatorHelper(this, null)); return(instance); }