Skip to content

Pact Web TempDataService ITempDataService

welshronaldo edited this page May 30, 2022 · 5 revisions

ITempDataService Interface

A wrapper service around ITempDataDictionaryFactory to make it easier to store objects

public interface ITempDataService

Derived
TempDataService

Methods
Clear() Clears the Temp Data Dictionary
Get<T>(string, JsonSerializerOptions) Gets a item from the Temp Data Dictionary
GetFromKeyToken<T>(string, string, JsonSerializerOptions) Gets a value cached from a token
Set<T>(string, T, JsonSerializerOptions) Sets item in Temp Data Dictionary
StoreOnKeyToken<T>(string, T, JsonSerializerOptions) Store a value which can be retrieved with a token
Clone this wiki locally