C# Class Utility.HttpCache.DefaultLocalFileSystemHttpCacheProvider

Inheritance: IHttpCacheProvider
Mostrar archivo Open project: dream-365/toolkit Class Usage Examples

Public Properties

Property Type Description
Current DefaultLocalFileSystemHttpCacheProvider

Public Methods

Method Description
Cache ( Stream content, Uri contentUri ) : void
Configure ( string cahcheFolder, IPathResolver pathResolver ) : void
GetCache ( Uri contentUri ) : Stream
Init ( ) : void
IsCached ( Uri requestUri ) : bool

Protected Methods

Method Description
CalculateAbsolutePath ( Uri contentUri ) : string
DefaultLocalFileSystemHttpCacheProvider ( ) : System

Method Details

Cache() public method

public Cache ( Stream content, Uri contentUri ) : void
content Stream
contentUri System.Uri
return void

CalculateAbsolutePath() protected method

protected CalculateAbsolutePath ( Uri contentUri ) : string
contentUri System.Uri
return string

Configure() public method

public Configure ( string cahcheFolder, IPathResolver pathResolver ) : void
cahcheFolder string
pathResolver IPathResolver
return void

DefaultLocalFileSystemHttpCacheProvider() protected method

protected DefaultLocalFileSystemHttpCacheProvider ( ) : System
return System

GetCache() public method

public GetCache ( Uri contentUri ) : Stream
contentUri System.Uri
return Stream

Init() public method

public Init ( ) : void
return void

IsCached() public method

public IsCached ( Uri requestUri ) : bool
requestUri System.Uri
return bool

Property Details

Current public_oe static_oe property

public static DefaultLocalFileSystemHttpCacheProvider,Utility.HttpCache Current
return DefaultLocalFileSystemHttpCacheProvider