ILinkGenerator Interface
Helps generate normalized links.
Namespace
Statiq.Common
Implementing Types
graph BT Type["ILinkGenerator"] class Type type-node Implementing0["LinkGenerator"]-.->Type click Implementing0 "/api/Statiq.Common/LinkGenerator"

Syntax

public interface ILinkGenerator

Methods

Name Return Value Summary
AddQueryAndFragment(string, string) string
Adds a query and/or fragment to a URL or path.
GetLink(string, string, string, string, string[], string[], bool, bool, bool) string
Generates a normalized link given a path and other conditions.
TryGetAbsoluteHttpUri(string, string) bool
Checks if a string contains an absolute URI with a "http" or "https" scheme and returns it if it does.

Extension Methods