Skip to content

Pact Cache DualLayerCacheService GetValueAsync T (string)

welshronaldo edited this page May 30, 2022 · 4 revisions

DualLayerCacheService.GetValueAsync<T>(string) Method

Retrieves a value type against the specified key

public override System.Threading.Tasks.Task<System.Nullable<T>> GetValueAsync<T>(string key)
    where T : struct;

Type parameters

T

Parameters

key System.String

Returns

System.Threading.Tasks.Task<System.Nullable<T>>

Implements GetValueAsync(string)

Remarks

Does NOT internally deserialize from JSON

Clone this wiki locally