Exemple #1
0
        public void ForwardToHttpContext <T>(HttpContext httpContext, Action <T> action) where T : class
        {
            var instance = ProxyCreator.CreateInstanceFromInterface <T>(new ServerProxyCreatorHelper(this, httpContext));

            action(instance);
        }
Exemple #2
0
        public T GetTypedMethods <T>() where T : class
        {
            var instance = ProxyCreator.CreateInstanceFromInterface <T>(new ServerProxyCreatorHelper(this, null));

            return(instance);
        }