C# 클래스 Subtext.TestLibrary.HttpSimulator.FakeHttpSessionState

상속: System.Collections.Specialized.NameObjectCollectionBase, IHttpSessionState
파일 보기 프로젝트 열기: Tboda/abSee

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