ical-org/ical.net

Make max. number of calculated occurrences configurable

Opened this issue · 0 comments

Replace the constant _maxIncrementCount with a configurable variable
Note: The default should be "Infinite", but for occurences without an end date a limitation can be useful

public class RecurrencePatternEvaluator : Evaluator
{
private const int _maxIncrementCount = 1000;