예제 #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));
        }
예제 #2
0
 public void Start(ComCallbackBase callback)
 {
     ComHelper.InvokeMethod(this.controllerInstance, "Start", new ComCallbackWrapper(callback));
 }
예제 #3
0
 public void StartWithCommandLine(ComCallbackBase callback, string commandLine)
 {
     ComHelper.InvokeMethod(this.controllerInstance, "StartWithCommandLine", new ComCallbackWrapper(callback), commandLine);
 }
예제 #4
0
 public void Exit()
 {
     ComHelper.InvokeMethod(this.controllerInstance, "Exit");
 }