C# Class Stumps.Stump

A class that represents a Stump.
Afficher le fichier Open project: Cayan-LLC/stumps Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

AddRule() public méthode

Adds the rule to the Stump.
public AddRule ( IStumpRule rule ) : void
rule IStumpRule The rule to add to the Stump.
Résultat void

IsMatch() public méthode

Determines whether the context of the HTTP request is match for the current instance.
public IsMatch ( IStumpsHttpContext context ) : bool
context IStumpsHttpContext The HTTP request.
Résultat bool

Stump() public méthode

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.
Résultat System