public ManagedReflectionWriter(TextWriter output, ApiFilter filter, ApiNamer namer) : base(filter) { XmlWriterSettings settings = new XmlWriterSettings(); settings.Indent = true; writer = XmlWriter.Create(output, settings); this.namer = namer; }
public ManagedReflectionWriter(TextWriter output, ApiNamer namer) : this(output, new ExternalTopicFilter(), namer) { }
//===================================================================== /// <summary> /// Constructor /// </summary> /// <param name="output">The text writer to which the output is written</param> /// <param name="namer">The API namer to use</param> /// <param name="resolver">The assembly resolver to use</param> /// <param name="filter">The API filter to use</param> public ManagedReflectionWriter(TextWriter output, ApiNamer namer, AssemblyResolver resolver, ApiFilter filter) : base(resolver, filter) { assemblyNames = new HashSet<string>(); descendantIndex = new Dictionary<TypeNode, List<TypeNode>>(); implementorIndex = new Dictionary<Interface, List<TypeNode>>(); parsedNamespaces = new List<Namespace>(); parsedTypes = new List<TypeNode>(); parsedMembers = new List<Member>(); startTagCallbacks = new Dictionary<string, List<MRefBuilderCallback>>(); endTagCallbacks = new Dictionary<string, List<MRefBuilderCallback>>(); XmlWriterSettings settings = new XmlWriterSettings(); settings.Indent = true; writer = XmlWriter.Create(output, settings); this.namer = namer; }