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

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

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

            VerifyEditableObject(proxy);
        }