C# 클래스 Stumps.Stump

A class that represents a Stump.
파일 보기 프로젝트 열기: Cayan-LLC/stumps 1 사용 예제들

공개 메소드들

메소드 설명
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