C# Class Sep.Git.Tfs.Util.Bouncer

Determines if an item is included or excluded from a set. By default, everything is excluded.
显示文件 Open project: pmiossec/git-tfs

Public Methods

Method Description
Exclude ( string expression ) : void

Add a regular expression for exclusion from the set.

Include ( string expression ) : void

Add a regular expression for inclusion in the set.

IsIncluded ( string s ) : bool

Checks if the string is included in the set.

Private Methods

Method Description
Append ( List set, string expression ) : void

Method Details

Exclude() public method

Add a regular expression for exclusion from the set.
public Exclude ( string expression ) : void
expression string
return void

Include() public method

Add a regular expression for inclusion in the set.
public Include ( string expression ) : void
expression string
return void

IsIncluded() public method

Checks if the string is included in the set.
public IsIncluded ( string s ) : bool
s string
return bool