C# Class CQRS.Talk.Sample5.CQRS.Decorator.Query.CacheProvider

Inheritance: ICacheProvider
Mostra file Open project: trailmax/CQRS.Talk

Public Methods

Method Description
CacheProvider ( ) : System
Get ( string cacheKey ) : object
Set ( string cacheKey, object cachedResult, System.TimeSpan cacheDuration ) : void

Method Details

CacheProvider() public method

public CacheProvider ( ) : System
return System

Get() public method

public Get ( string cacheKey ) : object
cacheKey string
return object

Set() public method

public Set ( string cacheKey, object cachedResult, System.TimeSpan cacheDuration ) : void
cacheKey string
cachedResult object
cacheDuration System.TimeSpan
return void