static void Main(string[] args) { CLOptions options = new CLOptions(); Parser.Default.ParseArguments(args, options); APIReflector reflector = new APIReflector(options); reflector.reflectClasses(options); }
private void reflectSubtypes(ClassRepresentation rep, Type type) { foreach (Type t in type.GetNestedTypes(BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic)) { if (t.IsNestedPrivate) { continue; } TopLevelDocumentable td = APIReflector.reflectTopOrNested(t); rep.nested.Add(td); } }