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
Afficher le fichier Open project: icsharpcode/SharpZipLib

Méthodes publiques

Méthode 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 méthode

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.
Résultat System

ExtendedPathFilter() public méthode

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.
Résultat System

ExtendedPathFilter() public méthode

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.
Résultat System

IsMatch() public méthode

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