C# Class Stumps.Stump

A class that represents a Stump.
Mostrar archivo Open project: Cayan-LLC/stumps Class Usage Examples

Public Methods

Method 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 method

Adds the rule to the Stump.
public AddRule ( IStumpRule rule ) : void
rule IStumpRule The rule to add to the Stump.
return void

IsMatch() public method

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

Stump() public method

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.
return System