Skip to main content

Interface ISupportsCache

Namespace: OceanApocalypse.RSML.Toolchain.Abstractions.Cache
Assembly: RSML.Toolchain.Abstractions.dll

Represents a service or a type that supports cached data.

public interface ISupportsCache

Properties

CacheExists

Whether there's cached data.

Boolean CacheExists { get; }

Property Value

Boolean

Methods

BuildCache()

Builds the cache if it doesn't exist yet.

void BuildCache()

BuildCache(Boolean)

Builds the cache. If forceRebuild is set to true, the cache will be built even if it already exists.

void BuildCache(Boolean forceRebuild)

Parameters

forceRebuild Boolean

Whether to force the cache to be built even if it exists.