Skip to main content

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
TypeName
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
TypeName
ServiceStack.Script.ScriptScopeContextscope
ServiceStack.Script.PageBlockFragmentblock
System.Threading.CancellationTokentoken

Implements