/[RomCheater]/trunk/RomCheater.Logging/logger.cs
ViewVC logotype

Diff of /trunk/RomCheater.Logging/logger.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater.Logging/logger.cs	2013/06/17 04:49:09	668
+++ trunk/RomCheater.Logging/logger.cs	2013/06/17 08:58:58	685
@@ -210,7 +210,13 @@
                 c = method.DeclaringType.Name;
 
                 bool GetNextMethod = true;
-                if (method.DeclaringType.FullName.ToLower().StartsWith("system") || method.DeclaringType.FullName.ToLower().StartsWith("microsoft"))
+                if (method.DeclaringType.FullName.ToLower().StartsWith("system") || method.DeclaringType.FullName.ToLower().StartsWith("microsoft") ||
+                    c.ToLower() == "pluginbase" ||
+                                c.ToLower() == "inputplugin" ||
+                                c.ToLower() == "windowplugin" ||
+                                c.ToLower() == "configplugin" ||
+                                c.ToLower() == "usercontrolplugin"
+                    )
                 {
                     int NextMethodCount = methodindex;
                     while (GetNextMethod)
@@ -227,6 +233,15 @@
                             {
                                 GetNextMethod = true;
                             }
+                            else if (c.ToLower() == "pluginbase" ||
+                                c.ToLower() == "inputplugin" ||
+                                c.ToLower() == "windowplugin" ||
+                                c.ToLower() == "configplugin" ||
+                                c.ToLower() == "usercontrolplugin")
+                            {
+                                // ignore our abstract plugin classes
+                                GetNextMethod = true;
+                            }
                             else
                             {
                                 GetNextMethod = false;
@@ -234,6 +249,9 @@
                         }
                     }
                 }
+                else
+                {
+                }
 
             }
             return string.Format("({0})",c);

 

  ViewVC Help
Powered by ViewVC 1.1.22