Cache<TKey, TValue>

Namespace: uMod

Assembly: uMod.Core.dll

Inheritance Object Cache<TKey,TValue>

Implements ICache<TKey, TValue>

Summary

Generic cache

Constructors

Name

Summary

Cache (Int32)

Create cache object with optional limit (uses limit specified in uMod configuration if 0)

Properties

Name

Summary

Count

Item

Get cache item

Methods

Name

Summary

Add (TKey, TValue, Int32)

Clear ()

Clear all items from cache

ContainsKey (TKey)

Extend (TKey, Int32)

Forget (TKey)

TryGetValue (TKey, out TValue)