MinifyJsScriptBlock
Assembly: ServiceStack.dll
View Source
Declaration
public class MinifyJsScriptBlock : MinifyScriptBlockBase, IConfigureScriptContext
Properties
Name
View Source
Declaration
public override string Name { get; }
Minifier
View Source
Declaration
public override ICompressor Minifier { get; }
Inherited Properties
Body
View Source
Declaration
public override ScriptLanguage Body { get; }
Minifier
View Source
Declaration
public abstract ICompressor Minifier { get; }
Inherited Methods
GetMinifiedOutputCache(ReadOnlyMemory<Char>)
View Source
Declaration
public ReadOnlyMemory<char> GetMinifiedOutputCache(ReadOnlyMemory<char> contents)
Returns
ReadOnlyMemory<System.Char>
Parameters
Type | Name |
---|---|
ReadOnlyMemory<System.Char> | contents |
WriteAsync(ScriptScopeContext, PageBlockFragment, CancellationToken)
View Source
Declaration
public override async Task WriteAsync(ScriptScopeContext scope, PageBlockFragment block, CancellationToken token)
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
ServiceStack.Script.ScriptScopeContext | scope |
ServiceStack.Script.PageBlockFragment | block |
System.Threading.CancellationToken | token |