Minifies the XML content.
- Namespace
- Statiq
.Minification - Interfaces
- Base Types
-
- object
- MinifierBase
graph BT
Type-->Base0["MinifierBase"]
click Base0 "/api/Statiq.Minification/MinifierBase"
Base0-->Base1["object"]
Type-.->Interface0["IModule"]
click Interface0 "/api/Statiq.Common/IModule"
Type["MinifyXml"]
class Type type-node
Syntax
public class MinifyXml : MinifierBase, IModule
Remarks
This module takes the XML content and uses minification to reduce the output.
Constructors
Name | Summary |
---|---|
MinifyXml |
Minifies the XML content. |
Methods
Name | Return Value | Summary |
---|---|---|
ExecuteAsync |
Task |
This should not be called directly, instead call
IExecutionContext.Execute() if you need to execute a module from within another module.
|
MinifyAsync |
Task |
Inherited from MinifierBase
|
RemoveXmlComments |
MinifyXml |
Flag for whether to remove all XML comments.
|
WithSettings |
MinifyXml |
Updates the minification settings.
|