WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
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;
6 
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.OrderBy(T=>T.Name))
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.OrderBy(T=>T.Name))
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.OrderBy(T => T.Name))
59  {
60 
61  TypeDocuData I = new TypeDocuData();
62 
63  I.Type = T;
64 
65  S += I.GetDocu();
66 
67  }
68 
69  S.WriteToFile(@"..\..\..\Documentation\66_OutputControllers_BuiltIn.md");
70 
71 
72 
73 
74  }
75  }
76 }
The namespace DirectOutput.Cab.Toys contains all toy related classes.
Common interface for all toy implementations. The abstract class ToyBase implements this interface...
Definition: IToy.cs:9
Common interface for all effects. If a new effect is implemented it is best to inherit from the abst...
Definition: IEffect.cs:13
The namespace DirectOutput.Cab contains all cabinet related classes like the Cabinet class itself...
Definition: Cab.cs:16
DirectOutput.Cab.Out is the namespace for all output controller related classes like different output...
Common interface for all outputcontrollers. Only classes implementing this interface can be used as o...
This namespace contains effects which deal with RGBA toys. /summary>
List for Type objects.
Definition: TypeList.cs:10
The namespace FX contains effect related classes. Effects can be assigned directly to a Table and wi...
The namespace DirectOutput.General contains classes for general use.