/// <summary> /// Event handler for the <c>OccupationChanged</c> event. /// </summary> /// <param name="e"></param> protected virtual void OnOccupationChanged(OccupationEventArgs e) { if (this.OccupationChanged != null) { this.OccupationChanged(this, e); } }
/// <summary> /// Event handler for the <c>BlockStatusChanged</c> event. /// </summary> /// <param name="e"></param> protected virtual void OnBlockStatusChanged(OccupationEventArgs e) { this.OccupationChanged?.Invoke(this, e); }