Table of Contents

Method FormatCitation

Namespace
DocWright.Dom.Bibliography
Assembly
DocWright.Dom.dll

FormatCitation(BibliographyStyle, IReadOnlyList<CitationRequest>, IReadOnlyList<BibliographySource>)

The text of a CITATION field: one source or several (\m), in a style.

public static string? FormatCitation(BibliographyStyle style, IReadOnlyList<CitationRequest> requests, IReadOnlyList<BibliographySource> sources)

Parameters

style BibliographyStyle

The style.

requests IReadOnlyList<CitationRequest>

The sources cited, in order.

sources IReadOnlyList<BibliographySource>

Every source of the document (another by the same author changes how a citation reads).

Returns

string

The text, or null when the style is not one this library formats or a tag names no source.