/// <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);
     }
 }
示例#2
0
 /// <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);
 }