public static AssemblyDom Build(AssemblyDoc asmDoc, Assembly asm, Func<MemberDom, bool> filterMembers, FindOptions findOptions) { var ret = new AssemblyDom { _name = asmDoc.Name, ReflectionAssembly = asm }; asmDoc.MergeWithReflection(asm, findOptions, out ret.ErrorUnboundTypes, out ret.ErrorUnboundMembers); ret.AllTypes = asmDoc.Types.Select(_ => TypeDom.Build(_, ret, filterMembers)).ToArray(); ret.FillNamespaces(); ret.FillNestedTypes(); return ret; }
public static AssemblyDom Build(AssemblyDoc asmDoc, Assembly asm, Func <MemberDom, bool> filterMembers, FindOptions findOptions) { var ret = new AssemblyDom { _name = asmDoc.Name, ReflectionAssembly = asm }; asmDoc.MergeWithReflection(asm, findOptions, out ret.ErrorUnboundTypes, out ret.ErrorUnboundMembers); ret.AllTypes = asmDoc.Types.Select(_ => TypeDom.Build(_, ret, filterMembers)).ToArray(); ret.FillNamespaces(); ret.FillNestedTypes(); return(ret); }