MinifyXml.

WithSettings(Action<XmlMinificationSettings>) Method

Summary

Updates the minification settings.
Assembly
Wyam.Minification.dll
Namespace
Wyam.Minification
Containing Type
MinifyXml

Syntax

public MinifyXml WithSettings(Action<XmlMinificationSettings> action)

Examples

MinifyXml()
    .WithSettings(settings => settings.RemoveXmlComments = false)

Parameters

Name Type Description
action Action<XmlMinificationSettings> A function to update the minification settings with.

Return Value

Type Description
MinifyXml The current instance.
GitHub