Beispiel #1
0
 /// <summary>
 /// Executes static method of the underlying assembly.
 /// </summary>
 /// <param name="methodName">'Method' name including 'Type' name (eg. MyType.DoJob).</param>
 /// <param name="list">List of 'Method' arguments.</param>
 /// <returns>Returns object of the same type as 'Method' return type.</returns>
 public object Invoke(string methodName, params object[] list)
 {
     if (this.disposed)
     {
         throw new ObjectDisposedException(this.ToString());
     }
     return(asmBrowser.Invoke(methodName, list));
 }