/// <summary> /// Creates a new reflection code doc repository. /// </summary> /// <param name="cRefLookup">The lookup used to resolve code references into reflected members.</param> /// <param name="xmlDocs">The related XML documentation files for the members.</param> public ReflectionCodeDocMemberRepository(ReflectionCRefLookup cRefLookup, IEnumerable<XmlAssemblyDocument> xmlDocs) : base(xmlDocs) { if(cRefLookup == null) throw new ArgumentNullException("cRefLookup"); Contract.EndContractBlock(); CRefLookup = cRefLookup; }
public ReflectionDisplayNameGeneratorFacts() { Default = new StandardReflectionDisplayNameGenerator(); Full = new StandardReflectionDisplayNameGenerator { IncludeNamespaceForTypes = true, ShowGenericParametersOnDefinition = true, ShowTypeNameForMembers = true }; Lookup = new ReflectionCRefLookup(new[] { GetAssembly() }); }
/// <summary> /// Creates a new reflection code doc repository. /// </summary> /// <param name="cRefLookup">The lookup used to resolve code references into reflected members.</param> /// <param name="xmlDocs">The related XML documentation files for the members.</param> public ReflectionCodeDocMemberRepository(ReflectionCRefLookup cRefLookup, params XmlAssemblyDocument[] xmlDocs) : this(cRefLookup, (IEnumerable<XmlAssemblyDocument>)xmlDocs) { Contract.Requires(cRefLookup != null); }
/// <summary> /// Creates a new reflection code doc repository. /// </summary> /// <param name="cRefLookup">The lookup used to resolve code references into reflected members.</param> public ReflectionCodeDocMemberRepository(ReflectionCRefLookup cRefLookup) : this(cRefLookup, null) { Contract.Requires(cRefLookup != null); }