Table of Contents

AddByFilename Method

Definition

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

AddByFilename(IList<XPathDocument>, string)

Adds the specified path to the collection of documents.

public static IList<XPathDocument> AddByFilename(this IList<XPathDocument> documents, string path)

Parameters

documents IList<XPathDocument>

The collection of documents in XML format.

path string

The path to locate XML documentation files by.

Returns

IList<XPathDocument>

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