C# Class ICSharpCode.SharpZipLib.Core.PathFilter

PathFilter filters directories and files by full path name.
Inheritance: IScanFilter
Exibir arquivo Open project: icsharpcode/SharpZipLib Class Usage Examples

Public Methods

Method Description
IsMatch ( string name ) : bool

Test a name to see if it matches the filter.

Path.GetFullPath(string) is used to get the full path before matching.

PathFilter ( string filter ) : System

Initialise a new instance of .

Method Details

IsMatch() public method

Test a name to see if it matches the filter.
Path.GetFullPath(string) is used to get the full path before matching.
public IsMatch ( string name ) : bool
name string The name to test.
return bool

PathFilter() public method

Initialise a new instance of .
public PathFilter ( string filter ) : System
filter string The filter expression to apply.
return System