C# Класс Stumps.StumpsManager

A class that manages a collection of T:Stumps.Stump objects.
Наследование: IStumpsManager
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddStump ( Stump stump ) : void

Adds a new T:Stumps.Stump to the collection.

DeleteStump ( string stumpId ) : void

Deletes the specified stump from the collection.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

FindStump ( string stumpId ) : Stump

Finds an existing stump.

A null value is returned if a Stump is not found.

FindStumpForContext ( IStumpsHttpContext context ) : Stump

Finds the Stump that matches an incomming HTTP request.

A null value is returned if a matching Stump is not found.

StumpsManager ( ) : System

Initializes a new instance of the T:Stumps.StumpsManager class.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

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

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

Adds a new T:Stumps.Stump to the collection.
is null. A with the same identifier already exists.
public AddStump ( Stump stump ) : void
stump Stump The to add to the collection.
Результат void

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

Deletes the specified stump from the collection.
public DeleteStump ( string stumpId ) : void
stumpId string The unique identifier for the stump to remove.
Результат void

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Результат void

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

Finds an existing stump.
A null value is returned if a Stump is not found.
public FindStump ( string stumpId ) : Stump
stumpId string The unique identifier for the Stump.
Результат Stump

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

Finds the Stump that matches an incomming HTTP request.
A null value is returned if a matching Stump is not found.
public FindStumpForContext ( IStumpsHttpContext context ) : Stump
context IStumpsHttpContext The incoming HTTP request context.
Результат Stump

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

Initializes a new instance of the T:Stumps.StumpsManager class.
public StumpsManager ( ) : System
Результат System