C# Class ICSharpCode.SharpZipLib.Core.ExtendedPathFilter

ExtendedPathFilter filters based on name, file size, and the last write time of the file.
Provides an example of how to customise filtering.
Inheritance: PathFilter
ファイルを表示 Open project: icsharpcode/SharpZipLib

Public Methods

Method Description
ExtendedPathFilter ( string filter, System.DateTime minDate, System.DateTime maxDate ) : System

Initialise a new instance of ExtendedPathFilter.

ExtendedPathFilter ( string filter, long minSize, long maxSize ) : System

Initialise a new instance of ExtendedPathFilter.

ExtendedPathFilter ( string filter, long minSize, long maxSize, System.DateTime minDate, System.DateTime maxDate ) : System

Initialise a new instance of ExtendedPathFilter.

IsMatch ( string name ) : bool

Test a filename to see if it matches the filter.

Method Details

ExtendedPathFilter() public method

Initialise a new instance of ExtendedPathFilter.
public ExtendedPathFilter ( string filter, System.DateTime minDate, System.DateTime maxDate ) : System
filter string The filter to apply.
minDate System.DateTime The minimum to include.
maxDate System.DateTime The maximum to include.
return System

ExtendedPathFilter() public method

Initialise a new instance of ExtendedPathFilter.
public ExtendedPathFilter ( string filter, long minSize, long maxSize ) : System
filter string The filter to apply.
minSize long The minimum file size to include.
maxSize long The maximum file size to include.
return System

ExtendedPathFilter() public method

Initialise a new instance of ExtendedPathFilter.
public ExtendedPathFilter ( string filter, long minSize, long maxSize, System.DateTime minDate, System.DateTime maxDate ) : System
filter string The filter to apply.
minSize long The minimum file size to include.
maxSize long The maximum file size to include.
minDate System.DateTime The minimum to include.
maxDate System.DateTime The maximum to include.
return System

IsMatch() public method

Test a filename to see if it matches the filter.
The doesnt exist
public IsMatch ( string name ) : bool
name string The filename to test.
return bool