We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 293d502 commit f38eb9dCopy full SHA for f38eb9d
External/Plugins/FlashDebugger/Helpers/DataTreeExporterFactory.cs
@@ -0,0 +1,25 @@
1
+using System.Collections.Generic;
2
+
3
+namespace FlashDebugger.Helpers
4
+{
5
6
+ /// <summary>
7
+ /// A simple static factory to get IDataTreeExporter implementations
8
+ /// </summary>
9
+ public static class DataTreeExporterFactory
10
+ {
11
12
+ private readonly static IDictionary<string, IDataTreeExporter> exporters;
13
+ public static IDictionary<string, IDataTreeExporter> Exporters
14
15
+ get { return exporters; }
16
+ }
17
18
+ static DataTreeExporterFactory()
19
20
+ exporters = new Dictionary<string, IDataTreeExporter>();
21
+ exporters[""] = new DefaultDataTreeExporter();
22
23
24
25
+}
0 commit comments