C# Class SecurityControllers.Caching.SecurityCacheHelper

Datei anzeigen Open project: wcpro/SecurityControllers

Public Methods

Method Description
Add ( bool o, string key, int minutes ) : void

Insert value into the cache using appropriate name/value pairs

Clear ( string key ) : void

Remove item from cache

Exists ( string key ) : bool

Check for item in cache

Get ( string key ) : bool

Method Details

Add() public static method

Insert value into the cache using appropriate name/value pairs
public static Add ( bool o, string key, int minutes ) : void
o bool Item to be cached
key string Name of item
minutes int
return void

Clear() public static method

Remove item from cache
public static Clear ( string key ) : void
key string Name of cached item
return void

Exists() public static method

Check for item in cache
public static Exists ( string key ) : bool
key string Name of cached item
return bool

Get() public static method

public static Get ( string key ) : bool
key string
return bool