private void Build(Context parent, IEnumerable <Type> allSpecClasses) { var derivedTypes = allSpecClasses.Where(s => parent.IsSub(s.BaseType)); foreach (var derived in derivedTypes) { var classContext = CreateClassContext(derived, conventions); parent.AddContext(classContext); Build(classContext, allSpecClasses); } }
private void Build(Context parent, IEnumerable<Type> allSpecClasses) { var derivedTypes = allSpecClasses.Where(s => parent.IsSub( s.BaseType) ); foreach (var derived in derivedTypes) { var classContext = CreateClassContext(derived, conventions); parent.AddContext(classContext); Build(classContext, allSpecClasses); } }
void Build(Context parent, IEnumerable <Type> allSpecClasses) { var derivedTypes = allSpecClasses.Where(s => parent.IsSub(s.BaseType)); foreach (var derived in derivedTypes) { var classContext = CreateClassContext(derived); parent.AddContext(classContext); BuildMethodContexts(classContext, derived); BuildMethodLevelExamples(classContext, derived); Build(classContext, allSpecClasses); } }
void Build(Context parent, IEnumerable<Type> allSpecClasses) { var derivedTypes = allSpecClasses.Where(s => parent.IsSub(s.BaseType)); foreach (var derived in derivedTypes) { var classContext = CreateClassContext(derived); parent.AddContext(classContext); BuildMethodContexts(classContext, derived); BuildMethodLevelExamples(classContext, derived); Build(classContext, allSpecClasses); } }