C# Class NCrontab.Advanced.Filters.RangeFilter

Handles filtering ranges (i.e. 1-5)
Inheritance: ICronFilter, ITimeFilter
Afficher le fichier Open project: jcoutch/NCrontab-Advanced Class Usage Examples

Private Properties

Свойство Type Description
IsMatch bool

Méthodes publiques

Méthode Description
First ( ) : int
IsMatch ( System.DateTime value ) : bool

Checks if the value is accepted by the filter

Next ( int value ) : int?
RangeFilter ( int start, int end, int steps, CrontabFieldKind kind ) : System

Constructs a new RangeFilter instance

ToString ( ) : string

Private Methods

Méthode Description
IsMatch ( int evalValue ) : bool

Method Details

First() public méthode

public First ( ) : int
Résultat int

IsMatch() public méthode

Checks if the value is accepted by the filter
public IsMatch ( System.DateTime value ) : bool
value System.DateTime The value to check
Résultat bool

Next() public méthode

public Next ( int value ) : int?
value int
Résultat int?

RangeFilter() public méthode

Constructs a new RangeFilter instance
public RangeFilter ( int start, int end, int steps, CrontabFieldKind kind ) : System
start int The start of the range
end int The end of the range
steps int The steps in the range
kind CrontabFieldKind The crontab field kind to associate with this filter
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string