Table of Contents

AddByAssembly Method

Definition

Namespace
Codebelt.Extensions.Swashbuckle.AspNetCore
Assemblies
Codebelt.Extensions.Swashbuckle.AspNetCore.dll
Source
src/Codebelt.Extensions.Swashbuckle.AspNetCore/XPathDocumentExtensions.cs

AddByAssembly(IList<XPathDocument>, Assembly)

Adds the specified assembly to the collection of documents.

public static IList<XPathDocument> AddByAssembly(this IList<XPathDocument> documents, Assembly assembly)

Parameters

documents IList<XPathDocument>

The collection of documents in XML format.

assembly Assembly

The assembly to locate XML documentation files by.

Returns

IList<XPathDocument>

A reference to documents so that additional calls can be chained.