示例#1
0
        private void TraceExtensions()
        {
            Trace.TraceInformation("Factories {0}:", Factories.Count);
            Factories.ForEach(x => Trace.TraceInformation(x.ToString()));

            Trace.TraceInformation("Importers {0}:", Importers.Count);
            Importers.ForEach(x => Trace.TraceInformation(x.ToString()));

            Trace.TraceInformation("Exporters: {0}", Exporters.Count);
            Exporters.ForEach(x => Trace.TraceInformation(x.ToString()));

            Trace.TraceInformation("Visualizers: {0}", Visualizers.Count);
            Visualizers.ForEach(x => Trace.TraceInformation(x.ToString()));

            Trace.TraceInformation("Settings: {0}", Settings.Count);
            Settings.ForEach(x => Trace.TraceInformation(x.ToString()));

            Trace.TraceInformation("AttributeProviders: {0}", AttributeProviders.Count);
            AttributeProviders.ForEach(x => Trace.TraceInformation(x.ToString()));
        }