IDocumentGetLinkExtensions Class
Namespace
Statiq.Common
Base Types
  • object
graph BT Type-->Base0["object"] Type["IDocumentGetLinkExtensions"] class Type type-node

Syntax

public static class IDocumentGetLinkExtensions

Methods

Name Return Value Summary
GetLink(IDocument, bool) string
Gets a link for the specified document using the document destination. Note that you can optionally include the host or not depending on if you want to generate host-specific links. By default, the host is not included so that sites work the same on any server including the preview server.
static
GetLink(IDocument, string, bool) string
Gets a link for the specified document using the document destination. Note that you can optionally include the host or not depending on if you want to generate host-specific links. By default, the host is not included so that sites work the same on any server including the preview server.
static