C# Class UCosmic.Cache.ObjectCacheProvider

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

Public Methods

Method Description
Add ( string key, object value, System.TimeSpan timeout ) : void
Contains ( string key ) : bool
Get ( string key ) : object
ObjectCacheProvider ( ObjectCache objectCache ) : System

Method Details

Add() public method

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

Contains() public method

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

Get() public method

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

ObjectCacheProvider() public method

public ObjectCacheProvider ( ObjectCache objectCache ) : System
objectCache ObjectCache
return System