C# Класс Stumps.Stump

A class that represents a Stump.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddRule ( IStumpRule rule ) : void

Adds the rule to the Stump.

IsMatch ( IStumpsHttpContext context ) : bool

Determines whether the context of the HTTP request is match for the current instance.

Stump ( string stumpId ) : System

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

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

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

Adds the rule to the Stump.
public AddRule ( IStumpRule rule ) : void
rule IStumpRule The rule to add to the Stump.
Результат void

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

Determines whether the context of the HTTP request is match for the current instance.
public IsMatch ( IStumpsHttpContext context ) : bool
context IStumpsHttpContext The HTTP request.
Результат bool

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

Initializes a new instance of the T:Stumps.Stump class.
is null, an empty string, or only contains white space.
public Stump ( string stumpId ) : System
stumpId string The unique identifier for the stump.
Результат System