Table of Contents

Class TempDataExtensions

Namespace
JJMasterData.Web.Extensions
Assembly
JJMasterData.Web.dll
public static class TempDataExtensions
Inheritance
TempDataExtensions
Inherited Members

Methods

Get<T>(ITempDataDictionary, string)

public static T? Get<T>(this ITempDataDictionary tempData, string key) where T : class

Parameters

tempData ITempDataDictionary
key string

Returns

T

Type Parameters

T

Put<T>(ITempDataDictionary, string, T)

public static void Put<T>(this ITempDataDictionary tempData, string key, T value) where T : class

Parameters

tempData ITempDataDictionary
key string
value T

Type Parameters

T