Table of Contents

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 bool
constructArguments ConstructArgument[]

Cache(IntPtr, bool)

protected Cache(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

CacheDirPropertyDefinition

public static readonly Property<string?, Cache> CacheDirPropertyDefinition

Field Value

Property<string, Cache>

CacheTypePropertyDefinition

public static readonly Property<CacheType, Cache> CacheTypePropertyDefinition

Field Value

Property<CacheType, Cache>

Properties

CacheDir

public string? CacheDir { get; }

Property Value

string

CacheType

public CacheType CacheType { get; }

Property Value

CacheType

Methods

Clear()

public void Clear()

Dump()

public void Dump()

Flush()

public void Flush()

GetGType()

public static Type GetGType()

Returns

Type

GetMaxSize()

public uint GetMaxSize()

Returns

uint

Load()

public void Load()

New(string?, CacheType)

public static Cache New(string? cacheDir, CacheType cacheType)

Parameters

cacheDir string
cacheType CacheType

Returns

Cache

SetMaxSize(uint)

public void SetMaxSize(uint maxSize)

Parameters

maxSize uint