コード例 #1
0
 // Invoker.FindType() //
 #region [public] FindType(string fullname)
 public static Type FindType(string fullname)
 {
     foreach (Assembly A in AppDomain.CurrentDomain.GetAssemblies())
     {
         try
         {
             foreach (Type T in A.GetTypes())
             {
                 if (T.FullName == fullname)
                 {
                     return(T);
                 }
             }
         }
         catch (Exception E)
         {
             Log.Console(ConsoleColor.Red, "Module: " + A + "\n" + E);
         }
     }
     return(null);
 }