PolyToolkit.PolyCacheConfig

Indicates how to configure the Poly Toolkit cache.

Summary

Constructors and Destructors

PolyCacheConfig(bool cacheEnabled, int maxCacheSizeMb, int maxCacheEntries)

Public attributes

cacheEnabled
bool
Whether or not to use caching for web requests (this is recommended).
cachePathOverride
string
If not null, this is the path that will be used to store the cache.
maxCacheEntries
int
Maximum number of cache entries.
maxCacheSizeMb
int
Maximum cache size, in megabytes.

Public functions

ToString()
override string

Public attributes

cacheEnabled

bool PolyToolkit::PolyCacheConfig::cacheEnabled

Whether or not to use caching for web requests (this is recommended).

cachePathOverride

string PolyToolkit::PolyCacheConfig::cachePathOverride

If not null, this is the path that will be used to store the cache.

If null, the default path will be used.

maxCacheEntries

int PolyToolkit::PolyCacheConfig::maxCacheEntries

Maximum number of cache entries.

maxCacheSizeMb

int PolyToolkit::PolyCacheConfig::maxCacheSizeMb

Maximum cache size, in megabytes.

Public functions

PolyCacheConfig

 PolyToolkit::PolyCacheConfig::PolyCacheConfig(
  bool cacheEnabled,
  int maxCacheSizeMb,
  int maxCacheEntries
)

ToString

override string PolyToolkit::PolyCacheConfig::ToString()