1
Vote

Missing constructor overload: XmlDocCommentReader(Assembly assembly, XmlDocCommentReaderSettings settings)

description

XmlDocCommentReader reader = new XmlDocCommentReader(GetType().Assembly, settings);
This example in the documentation doesn't work because that constructor simply doesn't exist. I could use this one instead:
public XmlDocCommentReader(Assembly assembly, XmlDocCommentReaderSettings settings, CreateReadPolicyDelegate createReadPolicy)
But I don't want to create a custom read policy, and I can't use XmlDocCommentReader. CreateDefaultReadPolicy because it's private. I can change the current working directory but that's a hackish half-solution.

Please consider adding this constructor overload:
public XmlDocCommentReader(Assembly assembly, XmlDocCommentReaderSettings settings)
    : this(assembly, settings, DefaultFileProxy, CreateDefaultReadPolicy) { }
Or making CreateDefaultReadPolicy public.

comments