Beispiel #1
0
        public T ConvertToTypedPage <T>() where T : CmsPage
        {
            var type      = typeof(T);
            var proxyPage = PageProxy.CreatePageProxy(type);

            Clone(this, proxyPage);

            return((T)proxyPage);
        }
        public static CmsPage CreatePageProxy(Type type)
        {
            var pageProxy = new PageProxy(type);

            return((CmsPage)pageProxy.GetTransparentProxy());
        }
Beispiel #3
0
 public static CmsPage CreatePageProxy(Type type) {
     var pageProxy = new PageProxy(type);
     return (CmsPage)pageProxy.GetTransparentProxy();
 }