Table of Contents

Class AutoUpdateCache<TParam, TData>

Namespace
Shift.Common
Assembly
Shift.Common.dll
public class AutoUpdateCache<TParam, TData> : AutoUpdateCache

Type Parameters

TParam
TData
Inheritance
AutoUpdateCache<TParam, TData>
Inherited Members
Extension Methods

Constructors

AutoUpdateCache(TimeSpan, TParam, Func<TParam, TData>)

public AutoUpdateCache(TimeSpan updatePeriod, TParam factoryParams, Func<TParam, TData> dataFactory)

Parameters

updatePeriod TimeSpan
factoryParams TParam
dataFactory Func<TParam, TData>

Methods

GetData()

public TData GetData()

Returns

TData

Update()

protected override void Update()