Skip to content

Latest commit

 

History

History
109 lines (65 loc) · 8.99 KB

File metadata and controls

109 lines (65 loc) · 8.99 KB

IWriterExtensions.AppendLink Method

Overloads
AppendLink(this IWriter, DocItem, INamedElement) Append an link to an ICSharpCode.Decompiler.TypeSystem.INamedElement in the markdown format.
AppendLink(this IWriter, DocItem, string) Append an link to a DocItem in the markdown format.
AppendLink(this IWriter, string, string) Append an link to an id using UrlFactories to resolve the url in the markdown format.

IWriterExtensions.AppendLink(this IWriter, DocItem, INamedElement) Method

Append an link to an ICSharpCode.Decompiler.TypeSystem.INamedElement in the markdown format.

public static DefaultDocumentation.Api.IWriter AppendLink(this DefaultDocumentation.Api.IWriter writer, DefaultDocumentation.Models.DocItem item, INamedElement element);

Parameters

writer IWriter

The IWriter to use.

item DocItem

The DocItem parent of the element, to get generic information if needed.

element ICSharpCode.Decompiler.TypeSystem.INamedElement

The ICSharpCode.Decompiler.TypeSystem.INamedElement to link to.

Returns

IWriter
The given IWriter.

IWriterExtensions.AppendLink(this IWriter, DocItem, string) Method

Append an link to a DocItem in the markdown format.

public static DefaultDocumentation.Api.IWriter AppendLink(this DefaultDocumentation.Api.IWriter writer, DefaultDocumentation.Models.DocItem item, string? displayedName=null);

Parameters

writer IWriter

The IWriter to use.

item DocItem

The DocItem to link to.

displayedName System.String

The displayed name of the link.

Returns

IWriter
The given IWriter.

IWriterExtensions.AppendLink(this IWriter, string, string) Method

Append an link to an id using UrlFactories to resolve the url in the markdown format.

public static DefaultDocumentation.Api.IWriter AppendLink(this DefaultDocumentation.Api.IWriter writer, string id, string? displayedName=null);

Parameters

writer IWriter

The IWriter to use.

id System.String

The id to link to.

displayedName System.String

The displayed name of the link.

Returns

IWriter
The given IWriter.