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

Syntax

public static class IReadOnlySettingsExtensions

Methods

Name Return Value Summary
GetIndexFileName(IReadOnlySettings) string
Gets a guaranteed index file name, returning a default of "index.html" if IndexFileName is not defined or is empty or whitespace.
static
GetPageFileExtensions(IReadOnlySettings) string[]
Gets a guaranteed set of page file extensions (with a preceding "."), returning a default of ".html", ".htm" if PageFileExtensions is not defined or is empty.
static