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 |
Adds a query and/or fragment to a URL or path.
|
GetLink |
string |
Generates a normalized link given a path and other conditions.
|
Try |
bool |
Checks if a string contains an absolute URI with a "http" or "https" scheme and returns it if it does.
|