Méthode | Description | |
---|---|---|
Minify ( string content ) : |
Minify XML content
|
|
Minify ( string content, |
Minify XML content
|
|
Minify ( string content, bool generateStatistics ) : |
Minify XML content
|
|
Minify ( string content, string fileContext ) : |
Minify XML content
|
|
Minify ( string content, string fileContext, |
Minify XML content
|
|
XmlMinifier ( |
Constructs instance of XML minifier
|
Méthode | Description | |
---|---|---|
BuildAttributeString ( |
Builds a string representation of the attribute
|
|
CdataSectionHandler ( |
CDATA sections handler
|
|
CommentHandler ( |
Comments handler
|
|
DoctypeDelegateHandler ( |
Document type declaration handler
|
|
EmptyTagHandler ( |
Empty tags handler
|
|
EndTagHandler ( |
End tags handler
|
|
FlushBuffer ( ) : void |
Flush a HTML minification buffer
|
|
IgnoredFragmentHandler ( |
Ignored fragments handler
|
|
ProcessingInstructionHandler ( |
Processing instruction handler
|
|
RemoveLastWhitespaceBufferItems ( ) : void |
Removes a last whitespace items from buffer
|
|
RenderAttributes ( IList |
Renders a list of attributes
|
|
StartTagHandler ( |
Start tags handler
|
|
TextHandler ( |
Text handler
|
|
TransformLastStartTagToEmptyTag ( ) : bool |
Transform a last start tag to empty tag
|
|
WriteError ( string category, string message, string filePath, int lineNumber, int columnNumber, string sourceFragment ) : void |
Writes a information about the error
|
|
XmlDeclarationHandler ( |
XML declaration handler
|
public Minify ( string content ) : |
||
content | string | Text content |
Résultat |
public Minify ( string content, |
||
content | string | Text content |
encoding | Text encoding | |
Résultat |
public Minify ( string content, bool generateStatistics ) : |
||
content | string | Text content |
generateStatistics | bool | Flag for whether to allow generate minification statistics |
Résultat |
public Minify ( string content, string fileContext ) : |
||
content | string | Text content |
fileContext | string | File context |
Résultat |
public Minify ( string content, string fileContext, |
||
content | string | XML content |
fileContext | string | File context |
encoding | Text encoding | |
generateStatistics | bool | Flag for whether to allow generate minification statistics |
Résultat |
public XmlMinifier ( |
||
settings | XML minification settings | |
logger | ILogger | Logger |
Résultat | System |