ITempDataDictionary ITempDataDictionary ITempDataDictionary Interface

Definition

Represents a set of data that persists only from one request to the next.

public interface ITempDataDictionary : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IDictionary<string,object>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>
type ITempDataDictionary = interface
    interface IDictionary<string, obj>
    interface ICollection<KeyValuePair<string, obj>>
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
Public Interface ITempDataDictionary
Implements ICollection(Of KeyValuePair(Of String, Object)), IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object))
Derived
Implements

Methods

Keep() Keep() Keep()

Marks all keys in the dictionary for retention.

Keep(String) Keep(String) Keep(String)

Marks the specified key in the dictionary for retention.

Load() Load() Load()

Loads the dictionary by using the registered ITempDataProvider.

Peek(String) Peek(String) Peek(String)

Returns an object that contains the element that is associated with the specified key, without marking the key for deletion.

Save() Save() Save()

Saves the dictionary by using the registered ITempDataProvider.

Extension Methods

GetWrapperProvider(IEnumerable<IWrapperProviderFactory>, WrapperProviderContext) GetWrapperProvider(IEnumerable<IWrapperProviderFactory>, WrapperProviderContext) GetWrapperProvider(IEnumerable<IWrapperProviderFactory>, WrapperProviderContext)

Gets an instance of IWrapperProvider for the supplied type.

FirstHtmlSymbolAs(IEnumerable<ISymbol>, HtmlSymbolType) FirstHtmlSymbolAs(IEnumerable<ISymbol>, HtmlSymbolType) FirstHtmlSymbolAs(IEnumerable<ISymbol>, HtmlSymbolType)

Converts the generic IEnumerable<T> to a IEnumerable<T> and finds the first HtmlSymbol with type type.

GetContent(IEnumerable<ISymbol>, SourceLocation) GetContent(IEnumerable<ISymbol>, SourceLocation) GetContent(IEnumerable<ISymbol>, SourceLocation)

Applies to