LinkGenerator Class

Summary

Helps generate normalized links.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Util
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["LinkGenerator"] class Type type-node

Syntax

public static class LinkGenerator

Fields

Name Constant Value Summary
DefaultHideExtensions
The default extensions to hide in links.
static
DefaultHidePages
The default page names to hide in links.
static

Methods

Name Value Summary
GetLink(NormalizedPath, string, DirectoryPath, string, string[], string[], bool) string
Generates a normalized link given a path and other conditions.
static
TryGetAbsoluteHttpUri(string, string) bool
Checks if a string contains an absolute URI with a "http" or "https" scheme and returns it if it does.
static
GitHub