This project is read-only.
Sample Usage:

For caching an object.
  • object to cahce : List<Advertiser> advertisers.
  • Expiry in mins : 10
  • string value for identifing, in case of same type cached earlier : organizationName

IQNCache.Cache.Add(advertisers,10,organizationName);

For retrieving cached object.
  • object Type: List<Advertiser>
  • string value for identifing, in case of same type cached earlier: organizationName

List<Advertiser> advertisers = null;
IQNCache.Cache.TryGetItem<List<Advertisers>>(advertisers,organizationName);

For Removing an object from cache
  • object Type: List<Advertiser>
  • string value for identifing, in case of same type cached earlier: organizationName

IQNCache.Cache.Remove<List<Advertiser>>(organizationName);

Last edited Sep 12, 2011 at 4:11 PM by shinekv, version 3

Comments

No comments yet.