2 using System.Collections.Generic;
5 using DirectOutput.FX.RGBAFX;
7 namespace DocumentationHelper
11 static void Main(
string[] args)
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));
19 Types.Sort((T1, T2) => T1.FullName.CompareTo(T2.FullName));
21 string S =
"Built in Toys {#toy_builtin}\n";
23 foreach (Type T
in Types.OrderBy(T=>T.Name))
33 S.WriteToFile(
@"..\..\..\Documentation\64_Toys_BuiltIn.md");
36 Types =
new DirectOutput.General.TypeList(AppDomain.CurrentDomain.GetAssemblies().ToList().SelectMany(s => s.GetTypes()).Where(p => typeof(DirectOutput.FX.IEffect).IsAssignableFrom(p) && !p.IsAbstract));
38 Types.Sort((T1, T2) => T1.FullName.CompareTo(T2.FullName));
40 S =
"Built in Effects {#fx_builtin}\n";
42 foreach (Type T
in Types.OrderBy(T=>T.Name))
52 S.WriteToFile(
@"..\..\..\Documentation\61_FX_BuiltIn.md");
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));
56 S =
"Built in Output controllers {#outputcontrollers_builtin}\n";
58 foreach (Type T
in Types.OrderBy(T => T.Name))
68 S.WriteToFile(
@"..\..\..\Documentation\66_OutputControllers_BuiltIn.md");