Skip to content
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public INamingConventions Naming
_naming ??= GetConventionOrDefault<INamingConventions>(() => Options.UseXmlDocumentation
? new DefaultNamingConventions(
new XmlDocumentationProvider(
new XmlDocumentationFileResolver(
new XmlDocumentationResolver(
Options.ResolveXmlDocumentationFileName),
_serviceHelper.GetStringBuilderPool()))
: new DefaultNamingConventions(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ namespace HotChocolate.Types.Descriptors;
/// <summary>
/// Resolves an XML documentation file from an assembly.
/// </summary>
public interface IXmlDocumentationFileResolver
public interface IXmlDocumentationResolver
{
/// <summary>
/// Trues to resolve an XML documentation file from the given assembly..
/// Trues to resolve an XML documentation element from the given assembly..
/// </summary>
bool TryGetXmlDocument(
Assembly assembly,
[NotNullWhen(true)] out XDocument? document);
bool TryGetXmlDocument(Assembly assembly,
[NotNullWhen(true)] out IReadOnlyDictionary<string, XElement>? memberLookup);
}
Loading