Table of Contents

Method GetOrCreate

Namespace
Innova.Rest.Server
Assembly
Innova.Rest.Server.dll

GetOrCreate<T>(string, int, Func<T>)

T GetOrCreate<T>(string cacheKeyPrefix, int cacheTimeoutInMinutes, Func<T> itemFunc)

Parameters

cacheKeyPrefix string
cacheTimeoutInMinutes int
itemFunc Func<T>

Returns

T

Type Parameters

T