Esempio n. 1
0
        /// <summary>
        /// Invoked the method with the specified methodName on the wrapped COM object.
        /// </summary>
        /// <param name="methodName"></param>
        /// <param name="args"></param>
        /// <returns></returns>

        public object InvokeMethod(string methodName, params object[] args)
        {
            return(ComHelper.InvokeMethod(this.Wrapped, methodName, args));
        }
Esempio n. 2
0
 public void Start(ComCallbackBase callback)
 {
     ComHelper.InvokeMethod(this.controllerInstance, "Start", new ComCallbackWrapper(callback));
 }
Esempio n. 3
0
 public void StartWithCommandLine(ComCallbackBase callback, string commandLine)
 {
     ComHelper.InvokeMethod(this.controllerInstance, "StartWithCommandLine", new ComCallbackWrapper(callback), commandLine);
 }
Esempio n. 4
0
 public void Exit()
 {
     ComHelper.InvokeMethod(this.controllerInstance, "Exit");
 }