Show / Hide Table of Contents

Class Cache<T>

Cache to handle ASE query responses

Inheritance
object
Cache<T>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SlipeServer.Server.AllSeeingEye
Assembly: SlipeServer.Server.dll
Syntax
public class Cache<T>
Type Parameters
Name Description
T

Constructors

| Edit this page View Source

Cache(Func<T>, int)

Declaration
public Cache(Func<T> updateFunc, int cachePeriod)
Parameters
Type Name Description
Func<T> updateFunc
int cachePeriod

Methods

| Edit this page View Source

Get(bool)

Declaration
public T? Get(bool forceUpdate = false)
Parameters
Type Name Description
bool forceUpdate
Returns
Type Description
T
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX