MY TESTED ASP.NET CORE MVC DOCS
Show / Hide Table of Contents

Interface ITempDataBuilder

Used for building Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary.

Namespace:MyTested.AspNetCore.Mvc.Builders.Contracts.Data
Assembly:MyTested.AspNetCore.Mvc.TempData.dll
Syntax
public interface ITempDataBuilder

Methods

| Improve this Doc View Source

WithEntries(IDictionary<String, Object>)

Adds temp data entries to the built Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary.

Declaration
IAndTempDataBuilder WithEntries(IDictionary<string, object> entries)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.Object> entries

Dictionary of temp data entries.

Returns
Type Description
MyTested.AspNetCore.Mvc.Builders.Contracts.Data.IAndTempDataBuilder

The same Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary.

| Improve this Doc View Source

WithEntries(Object)

Adds temp data entries to the built Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary.

Declaration
IAndTempDataBuilder WithEntries(object entries)
Parameters
Type Name Description
System.Object entries

Anonymous object of temp data entries.

Returns
Type Description
MyTested.AspNetCore.Mvc.Builders.Contracts.Data.IAndTempDataBuilder

The same Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary.

| Improve this Doc View Source

WithEntry(String, Object)

Adds temp data entry to the built Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary.

Declaration
IAndTempDataBuilder WithEntry(string key, object value)
Parameters
Type Name Description
System.String key

Key of the temp data entry.

System.Object value

Value of the temp data entry.

Returns
Type Description
MyTested.AspNetCore.Mvc.Builders.Contracts.Data.IAndTempDataBuilder

The same Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary.

  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2016 MyTestedASP.NET. All Rights Reserved. Generated by DocFX