TempDataDictionaryFactory 类

定义

的默认实现 ITempDataDictionaryFactory

public ref class TempDataDictionaryFactory : Microsoft::AspNetCore::Mvc::ViewFeatures::ITempDataDictionaryFactory
public class TempDataDictionaryFactory : Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory
type TempDataDictionaryFactory = class
    interface ITempDataDictionaryFactory
Public Class TempDataDictionaryFactory
Implements ITempDataDictionaryFactory
继承
TempDataDictionaryFactory
实现

构造函数

TempDataDictionaryFactory(ITempDataProvider)

创建一个新的 TempDataDictionaryFactory

方法

GetTempData(HttpContext)

获取或创建 ITempDataDictionary 与给定相关联的请求的实例 context

适用于