C# Class SquishIt.Framework.CSS.CSSAssetsFileHasher

Inheritance: ICSSAssetsFileHasher
Show file Open project: connectivedx/SquishIt Class Usage Examples

Protected Properties

Property Type Description
FileSystemResolver IResolver
HashQueryStringKeyName string
Hasher IHasher

Public Methods

Method Description
AppendFileHash ( string cssFilePath, string url ) : string
CSSAssetsFileHasher ( string hashQueryStringKeyName, IResolver fileResolver, IHasher hasher ) : System

Private Methods

Method Description
AppendQueryStringPairValue ( string url, string key, string value ) : string

Append a query string pair value to a url

FlattenedQueryString ( System queryString ) : string
GetAssetFilePath ( string cssFilePath, string url ) : string

Method Details

AppendFileHash() public method

public AppendFileHash ( string cssFilePath, string url ) : string
cssFilePath string
url string
return string

CSSAssetsFileHasher() public method

public CSSAssetsFileHasher ( string hashQueryStringKeyName, IResolver fileResolver, IHasher hasher ) : System
hashQueryStringKeyName string
fileResolver IResolver
hasher IHasher
return System

Property Details

FileSystemResolver protected property

protected IResolver FileSystemResolver
return IResolver

HashQueryStringKeyName protected property

protected string HashQueryStringKeyName
return string

Hasher protected property

protected IHasher Hasher
return IHasher