共用方式為


UserLevelCacheWriter.RunWithCache(String, Func<String>) 方法

定義

public string RunWithCache (string cacheKey, Func<string> getValueToCache);
member this.RunWithCache : string * Func<string> -> string
Public Function RunWithCache (cacheKey As String, getValueToCache As Func(Of String)) As String

參數

cacheKey
String
getValueToCache
Func<String>

傳回

適用於