mardi 29 mars 2016

It is possible to set property value via reflection in nsubstitute proxy object?

Im trying to mock interface and set properties via reflection. But I get null reference exception. Is any way to do this ? I also create instance of this proxy by FormatterServices.GetSafeUninitializedObject(). enter image description here





Aucun commentaire:

Enregistrer un commentaire