DirectOutputR1
DirectOutput framework R1 for virtual pinball cabinets.
Go to:
Overview 
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
Program.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using DirectOutput.FX.RGBAFX;
6 
7 namespace DocumentationHelper
8 {
9  class Program
10  {
11  static void Main(string[] args)
12  {
13 
14 
15 
16  DirectOutput.General.TypeList Types = new DirectOutput.General.TypeList(AppDomain.CurrentDomain.GetAssemblies().ToList().SelectMany(s => s.GetTypes()).Where(p => typeof(DirectOutput.Cab.Toys.IToy).IsAssignableFrom(p) && !p.IsAbstract));
17 
18 
19  Types.Sort((T1, T2) => T1.FullName.CompareTo(T2.FullName));
20 
21  string S = "Built in Toys {#toy_builtin}\n";
22  S += "==========\n";
23  foreach (Type T in Types)
24  {
25  TypeDocuData I = new TypeDocuData();
26 
27  I.Type = T;
28 
29  S += I.GetDocu();
30 
31  }
32 
33  S.WriteToFile(@"..\..\..\Documentation\64_Toys_BuiltIn.md");
34 
35 
36  Types = new DirectOutput.General.TypeList(AppDomain.CurrentDomain.GetAssemblies().ToList().SelectMany(s => s.GetTypes()).Where(p => typeof(DirectOutput.FX.IEffect).IsAssignableFrom(p) && !p.IsAbstract));
37 
38  Types.Sort((T1, T2) => T1.FullName.CompareTo(T2.FullName));
39 
40  S = "Built in Effects {#fx_builtin}\n";
41  S += "==========\n";
42  foreach (Type T in Types)
43  {
44  TypeDocuData I = new TypeDocuData();
45 
46  I.Type = T;
47 
48  S += I.GetDocu();
49 
50  }
51 
52  S.WriteToFile(@"..\..\..\Documentation\61_FX_BuiltIn.md");
53 
54  Types = new DirectOutput.General.TypeList(AppDomain.CurrentDomain.GetAssemblies().ToList().SelectMany(s => s.GetTypes()).Where(p => typeof(DirectOutput.Cab.Out.IOutputController).IsAssignableFrom(p) && !p.IsAbstract));
55 
56  S = "Built in Output controllers {#outputcontrollers_builtin}\n";
57  S += "==========\n";
58  foreach (Type T in Types)
59  {
60  TypeDocuData I = new TypeDocuData();
61 
62  I.Type = T;
63 
64  S += I.GetDocu();
65 
66  }
67 
68  S.WriteToFile(@"..\..\..\Documentation\66_OutputControllers_BuiltIn.md");
69 
70 
71 
72 
73  }
74  }
75 }