C# Class StacheCache.LocalCache

Inheritance: ICache
Show file Open project: itsjason/Stache-Cache Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddToCache ( object item, string key, int expirationMinutes ) : void
Clear ( ) : void
Delete ( string key ) : void
ReadFromCache ( string key ) : object

Method Details

AddToCache() public method

public AddToCache ( object item, string key, int expirationMinutes ) : void
item object
key string
expirationMinutes int
return void

Clear() public method

public Clear ( ) : void
return void

Delete() public method

public Delete ( string key ) : void
key string
return void

ReadFromCache() public method

public ReadFromCache ( string key ) : object
key string
return object