C# Class Unipluss.Minifier.Minifier

Mostrar archivo Open project: unipluss/Unipluss.Minifier Class Usage Examples

Public Methods

Method 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

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

Method Details

GetSubString() public static method

public static GetSubString ( string text, string start, string end ) : string
text string
start string
end string
return string

Minifier() public method

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
return System

RemoveWhitespaceFromHtml() public static method

public static RemoveWhitespaceFromHtml ( string html ) : string
html string
return string

run() public method

public run ( ) : void
return void