On 15.07.2014 13:24, Jonathan Mitchell wrote:
Hi
I have a class that implements the following two interfaces and I am having
trouble accessing explicit interface properties via the embedded API.
My unit tests fail (see below).
The explicit interface properties are found okay but the property assignment
fails in a way which makes me think there is a parameter type problem.
Is there anything I should be aware of with regard to constructing the property
access signature?
If I log the mono class method info it looks okay - again this is listed below.
IIRC, the name of properties (and methods) of explicit interfaces
must be prefixed with the interface name, e.g.:
[self getMonoProperty:"IReferenceObject2_ExIntTestProperty"]
I'm not sure about the delimiter, but I believe it's "_".
Robert
_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list