Class Cache
- Namespace
- Soup
- Assembly
- Soup-3.0.dll
public class Cache : Object, IObject, INotifyPropertyChanged, IDisposable, SessionFeature, IHandle, GTypeProvider
- Inheritance
-
Cache
- Implements
- Inherited Members
Constructors
Cache(bool, params ConstructArgument[])
protected Cache(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
boolconstructArguments
ConstructArgument[]
Cache(IntPtr, bool)
protected Cache(IntPtr ptr, bool ownedRef)
Parameters
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