OptimizeFileName(string, bool, bool, bool, bool) Method
Namespace
Statiq.Common
Containing Type
NormalizedPath

Syntax

public NormalizedPath OptimizeFileName(string reservedChars = "_~:/\\?#[]@!$&'()*+={};,", bool trimDot = true, bool collapseSpaces = true, bool spacesToDashes = true, bool toLower = true)

Parameters

Name Type Description
reservedChars string
trimDot bool
collapseSpaces bool
spacesToDashes bool
toLower bool

Return Value

Type Description
NormalizedPath