Skip to main content

MinifyBlock

Assembly: ServiceStack.dll
View Source
Declaration
public class MinifyBlock : HtmlModuleBlock

Properties

Compressor

View Source
Declaration
public ICompressor Compressor { get; }

Convert

View Source
Declaration
public Func<string, string> Convert { get; set; }

LineTransformers

View Source
Declaration
public List<HtmlModuleLine> LineTransformers { get; set; }

Inherited Properties

Behaviour

View Source
Declaration
public Run Behaviour { get; set; }

EndTag

View Source
Declaration
public string EndTag { get; }

StartTag

View Source
Declaration
public string StartTag { get; }

Methods

Transform(String)

View Source
Declaration
public override string Transform(string block)
Returns

System.String

Parameters
TypeName
System.Stringblock

Inherited Methods

Transform(List<String>)

View Source
Declaration
public virtual string Transform(List<string> lines)
Returns

System.String

Parameters
TypeName
System.Collections.Generic.List<System.String>lines

Transform(String)

View Source
Declaration
public virtual string Transform(string block)
Returns

System.String

Parameters
TypeName
System.Stringblock