C# Class UCosmic.Cache.AzureCacheProvider

Inheritance: IProvideCache
显示文件 Open project: ucosmic/UCosmicAlpha

Public Methods

Method Description
Add ( string key, object value, System.TimeSpan timeout ) : void
AzureCacheProvider ( DataCache dataCache ) : System
Contains ( string key ) : bool
Get ( string key ) : object

Method Details

Add() public method

public Add ( string key, object value, System.TimeSpan timeout ) : void
key string
value object
timeout System.TimeSpan
return void

AzureCacheProvider() public method

public AzureCacheProvider ( DataCache dataCache ) : System
dataCache DataCache
return System

Contains() public method

public Contains ( string key ) : bool
key string
return bool

Get() public method

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