C# Class Adf.Web.State.WebStateProvider

Represents a web state provider. This is used by the Adf.Core.StateManager. Provides properties and methods to get, set, remove a value from Session corresponding to a specified key etc.
Inheritance: IStateProvider
Datei anzeigen Open project: NLADP/ADF

Public Methods

Method Description
Has ( object o ) : bool

Returns a value indicating whether a value exists in the Session corresponding to the specified key object.

Has ( object o, string key ) : bool

Returns a value indicating whether a value exists in the Session corresponding to the specified key (combination of the specified object and string).

Has ( string key ) : bool

Returns a value indicating whether a value exists in the Session corresponding to the specified key.

Remove ( object o ) : void

Removes the value from the Session corresponding to the specified key object.

Remove ( string key ) : void

Removes the value from the Session corresponding to the specified key.

this ( object o ) : object

Gets or sets the object in the Session corresponding to the specified key object.

this ( object o, string key ) : object

Gets or sets the value in the Session corresponding to the specified key (combination of the specified object and string).

this ( string key ) : object

Gets or sets the value in the Session corresponding to the specified key.

Method Details

Has() public method

Returns a value indicating whether a value exists in the Session corresponding to the specified key object.
public Has ( object o ) : bool
o object The key object for which the corresponding value esists or not, is to check.
return bool

Has() public method

Returns a value indicating whether a value exists in the Session corresponding to the specified key (combination of the specified object and string).
public Has ( object o, string key ) : bool
o object The object part of the key for which the corresponding value /// esists or not is to check.
key string The string part of the key for which the corresponding value /// esists or not is to check.
return bool

Has() public method

Returns a value indicating whether a value exists in the Session corresponding to the specified key.
public Has ( string key ) : bool
key string The key for which the corresponding value esists or not is to check.
return bool

Remove() public method

Removes the value from the Session corresponding to the specified key object.
public Remove ( object o ) : void
o object The key object for which the corresponding value is to be removed.
return void

Remove() public method

Removes the value from the Session corresponding to the specified key.
public Remove ( string key ) : void
key string The key for which the corresponding value is to be removed.
return void

this() public method

Gets or sets the object in the Session corresponding to the specified key object.
public this ( object o ) : object
o object The key object for which the corresponding value is to get or set.
return object

this() public method

Gets or sets the value in the Session corresponding to the specified key (combination of the specified object and string).
public this ( object o, string key ) : object
o object
key string
return object

this() public method

Gets or sets the value in the Session corresponding to the specified key.
public this ( string key ) : object
key string The key object for which the corresponding value esists or not, is to check.
return object