Esempio n. 1
0
        public void Can_Create_EditablePropertyChanged_Proxy_Type()
        {
            var proxy = (SimpleViewModel)DynamicProxyTool.CreateEditablePropertyChanged(typeof(SimpleViewModel));

            VerifyEditableObject(proxy);
            VerifyNotifyPropertyChanged(proxy);
        }
Esempio n. 2
0
        public void Can_Create_EditablePropertyChanged_Proxy_Generic()
        {
            var proxy = DynamicProxyTool.CreateEditablePropertyChanged <SimpleViewModel>();

            VerifyEditableObject(proxy);
            VerifyNotifyPropertyChanged(proxy);
        }
Esempio n. 3
0
        public void Can_Create_EditablePropertyChanged_Proxy_Factory()
        {
            var proxy =
                (SimpleViewModel)DynamicProxyTool.CreateEditablePropertyChanged(() => ActivatorTool.CreateInstance <SimpleViewModel>());

            VerifyEditableObject(proxy);
            VerifyNotifyPropertyChanged(proxy);
        }