C# Class ValueProvidersExample.Helpers.SessionValueProvider

Inheritance: IValueProvider
Afficher le fichier Open project: jeffreypalermo/mvc2inaction

Méthodes publiques

Méthode Description
ContainsPrefix ( string prefix ) : bool
GetValue ( string key ) : System.Web.Mvc.ValueProviderResult
SessionValueProvider ( System.Web.HttpSessionStateBase session ) : System

Private Methods

Méthode Description
AddValues ( System.Web.HttpSessionStateBase session ) : void

Method Details

ContainsPrefix() public méthode

public ContainsPrefix ( string prefix ) : bool
prefix string
Résultat bool

GetValue() public méthode

public GetValue ( string key ) : System.Web.Mvc.ValueProviderResult
key string
Résultat System.Web.Mvc.ValueProviderResult

SessionValueProvider() public méthode

public SessionValueProvider ( System.Web.HttpSessionStateBase session ) : System
session System.Web.HttpSessionStateBase
Résultat System