예제 #1
0
        public static void CollectStatistics()
        {
            Findings.Clear();

            InspectReflectTypeDescriptionProvider();

            InspectDPCustomTypeDescriptor();

            InspectViewManager();

            if (WriteToDebugConsole)
            {
                using (var writer = new DebugTextWriter())
                {
                    foreach (var finding in Findings)
                    {
                        finding.WriteTo(writer);
                        writer.WriteLine();
                    }
                }
            }
        }
예제 #2
0
        public static void CollectStatistics()
        {
            Findings.Clear();

            InspectReflectTypeDescriptionProvider();

            InspectDPCustomTypeDescriptor();

            InspectViewManager();

            if (WriteToDebugConsole)
            {
                using (var writer = new DebugTextWriter())
                {
                    foreach (var finding in Findings)
                    {
                        finding.WriteTo(writer);
                        writer.WriteLine();
                    }
                }
            }
        }