Interval property

int get Interval
Gets or sets the interval between occurrences.

Implementation

int get Interval => this._interval!;
set Interval (int value)

Implementation

set Interval(int value) {
  if (value < 1) {
    throw new ArgumentException("IntervalMustBeGreaterOrEqualToOne");
  }
  if (this.CanSetFieldValue(this._interval, value)) {
    this._interval = value;
    this.Changed();
  }
}