Beispiel #1
0
        public void Can_Create_EditableObject_Proxy_Generic()
        {
            var proxy = DynamicProxyTool.CreateEditableObject <SimpleViewModel>();

            VerifyEditableObject(proxy);
        }
Beispiel #2
0
        public void Can_Create_EditableObject_Proxy_Factory()
        {
            var proxy = (SimpleViewModel)DynamicProxyTool.CreateEditableObject(() => ActivatorTool.CreateInstance <SimpleViewModel>());

            VerifyEditableObject(proxy);
        }
Beispiel #3
0
        public void Can_Create_EditableObject_Proxy_Type()
        {
            var proxy = (SimpleViewModel)DynamicProxyTool.CreateEditableObject(typeof(SimpleViewModel));

            VerifyEditableObject(proxy);
        }