[Ironruby-core] Calling Explicit Interfaces

Michael Delaney lists at ruby-forum.com
Fri Jun 12 11:22:12 EDT 2009


Is this still a bug i.e. bug #23494.

i'm trying to use cucumber test a WPF app using the WPFAutomation.

there's an explicit interface implementation of
System.Windows.Automation.Provider.IInvokeProvider on the
ButtonAutomationPeer class.

at the moment i'm getting around it by creating a helper object in c#

namespace UIAutomation {
    public class InvokeHelper {
        private readonly IInvokeProvider _provider;
        public InvokeHelper(IInvokeProvider provider) {
            _provider = provider;
        public void Invoke(){

and then call in IR:
ih = InvokeHelper.new bp

Is there another way to do this??
Posted via http://www.ruby-forum.com/.

More information about the Ironruby-core mailing list