C# Class TerrificNet.AssetCompiler.Compiler.CachedAssetCompiler

Inheritance: IAssetCompiler
Show file Open project: namics/TerrificNet

Public Methods

Method Description
CachedAssetCompiler ( IAssetCompiler compiler ) : System
CanProcess ( string filename ) : bool
CompileAsync ( string content, bool minify ) : Task

Private Methods

Method Description
GetHash ( HashAlgorithm md5Hash, string input ) : string

Method Details

CachedAssetCompiler() public method

public CachedAssetCompiler ( IAssetCompiler compiler ) : System
compiler IAssetCompiler
return System

CanProcess() public method

public CanProcess ( string filename ) : bool
filename string
return bool

CompileAsync() public method

public CompileAsync ( string content, bool minify ) : Task
content string
minify bool
return Task