C# Класс Subtext.TestLibrary.HttpSimulator.FakeHttpSessionState

Наследование: System.Collections.Specialized.NameObjectCollectionBase, IHttpSessionState
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
Abandon ( ) : void

Ends the current session.

Add ( string name, object value ) : void

Adds a new item to the session-state collection.

Clear ( ) : void

Clears all values from the session-state item collection.

CopyTo ( Array array, int index ) : void

Copies the collection of session-state item values to a one-dimensional array, starting at the specified index in the array.

Remove ( string name ) : void

Deletes an item from the session-state item collection.

RemoveAll ( ) : void

Clears all values from the session-state item collection.

RemoveAt ( int index ) : void

Deletes an item at a specified index from the session-state item collection.

this ( int index ) : object

Gets or sets a session-state item value by numerical index.

this ( string name ) : object

Gets or sets a session-state item value by name.

Описание методов

Abandon() публичный Метод

Ends the current session.
public Abandon ( ) : void
Результат void

Add() публичный Метод

Adds a new item to the session-state collection.
public Add ( string name, object value ) : void
name string The name of the item to add to the session-state collection.
value object The value of the item to add to the session-state collection.
Результат void

Clear() публичный Метод

Clears all values from the session-state item collection.
public Clear ( ) : void
Результат void

CopyTo() публичный Метод

Copies the collection of session-state item values to a one-dimensional array, starting at the specified index in the array.
public CopyTo ( Array array, int index ) : void
array System.Array The that receives the session values.
index int The index in array where copying starts.
Результат void

Remove() публичный Метод

Deletes an item from the session-state item collection.
public Remove ( string name ) : void
name string The name of the item to delete from the session-state item collection.
Результат void

RemoveAll() публичный Метод

Clears all values from the session-state item collection.
public RemoveAll ( ) : void
Результат void

RemoveAt() публичный Метод

Deletes an item at a specified index from the session-state item collection.
public RemoveAt ( int index ) : void
index int The index of the item to remove from the session-state collection.
Результат void

this() публичный Метод

Gets or sets a session-state item value by numerical index.
public this ( int index ) : object
index int The numerical index of the session-state item value.
Результат object

this() публичный Метод

Gets or sets a session-state item value by name.
public this ( string name ) : object
name string The key name of the session-state item value.
Результат object