Class Cache
- Namespace
- Soup
- Assembly
- Soup-3.0.dll
public class Cache : Object, IDisposable, SessionFeature, GTypeProvider, InstanceFactory
- Inheritance
-
Cache
- Implements
- Inherited Members
Constructors
Cache(params ConstructArgument[])
public Cache(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
Cache(CacheHandle)
public Cache(CacheHandle handle)
Parameters
handle
CacheHandle
Fields
CacheDirPropertyDefinition
public static readonly Property<string?, Cache> CacheDirPropertyDefinition
Field Value
CacheTypePropertyDefinition
public static readonly Property<CacheType, Cache> CacheTypePropertyDefinition
Field Value
Properties
CacheDir
public string? CacheDir { get; }
Property Value
CacheType
public CacheType CacheType { get; }
Property Value
Methods
Clear()
public void Clear()
Dump()
public void Dump()
Flush()
public void Flush()
GetGType()
public static Type GetGType()
Returns
GetMaxSize()
public uint GetMaxSize()
Returns
Load()
public void Load()
New(string?, CacheType)
public static Cache New(string? cacheDir, CacheType cacheType)
Parameters
Returns
SetMaxSize(uint)
public void SetMaxSize(uint maxSize)
Parameters
maxSize
uint