C# Class Unipluss.Minifier.Minifier

Afficher le fichier Open project: unipluss/Unipluss.Minifier Class Usage Examples

Méthodes publiques

Méthode Description
GetSubString ( string text, string start, string end ) : string
Minifier ( string filepath, bool silent = false, bool js = true, bool css = true, bool html = true, bool allhtml = false, bool delete = false, string outputfile = null ) : System
RemoveWhitespaceFromHtml ( string html ) : string
run ( ) : void

Private Methods

Méthode Description
combinefiles ( string pathNewFile, IEnumerable files, bool minify = true, bool delete = false, bool silent = false ) : void

Method Details

GetSubString() public static méthode

public static GetSubString ( string text, string start, string end ) : string
text string
start string
end string
Résultat string

Minifier() public méthode

public Minifier ( string filepath, bool silent = false, bool js = true, bool css = true, bool html = true, bool allhtml = false, bool delete = false, string outputfile = null ) : System
filepath string
silent bool
js bool
css bool
html bool
allhtml bool
delete bool
outputfile string
Résultat System

RemoveWhitespaceFromHtml() public static méthode

public static RemoveWhitespaceFromHtml ( string html ) : string
html string
Résultat string

run() public méthode

public run ( ) : void
Résultat void