C# Class Stumps.Server.Recordings

A class that represents a collection of recordings from a Stumps server.
显示文件 Open project: Cayan-LLC/stumps

Public Methods

Method Description
Clear ( ) : void

Clears all recorded contexts from the instance.

Find ( int afterIndex ) : IList

Finds all recordings after the specified index.

FindAt ( int index ) : RecordedContext

Finds the recorded context at the specified index.

If a recorded context cannot be found at the specified index, a null value is returned.

Recordings ( ) : System

Initializes a new instance of the T:Stumps.Server.Recordings class.

Private Methods

Method Description
Add ( IStumpsHttpContext context ) : void

Adds the specified T:Stumps.IStumpsHttpContext to the collection.

Method Details

Clear() public method

Clears all recorded contexts from the instance.
public Clear ( ) : void
return void

Find() public method

Finds all recordings after the specified index.
public Find ( int afterIndex ) : IList
afterIndex int The index used to find all recorded contexts after.
return IList

FindAt() public method

Finds the recorded context at the specified index.
If a recorded context cannot be found at the specified index, a null value is returned.
public FindAt ( int index ) : RecordedContext
index int The index of the recorded context.
return RecordedContext

Recordings() public method

Initializes a new instance of the T:Stumps.Server.Recordings class.
public Recordings ( ) : System
return System