Quantcast
Channel: Managed Extensibility Framework
Viewing all articles
Browse latest Browse all 265

New Post: Correct behavior

$
0
0

Hi

I'm using MEF as my view model container.

I have public property in view model called for example test, when I assign her outside the constructor, property is always 0. When I assign them in construcor of object everythings fine.

Why when I assign value to property outside of constructor I see the default value of property when calling getexportedvalue of this view model ?

 

Thanks in advance !


Viewing all articles
Browse latest Browse all 265

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>