Table of Contents

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

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