Beispiel #1
0
 public void OnUserClosesDoor()
 {
     Console.WriteLine("[Door closes]");
     DoorClosedEvent?.Invoke(this, new DoorClosedEventArgs());
 }
Beispiel #2
0
 public void CloseDoor()
 {
     Open = false;
     DoorClosedEvent?.Invoke(this, EventArgs.Empty);
 }
Beispiel #3
0
 public void OnDoorClose()
 {
     DoorClosedEvent?.Invoke(this, null);
 }
Beispiel #4
0
 public void CloseDoor()
 {
     DoorClosedEvent?.Invoke(this, new EventArgs());
 }
Beispiel #5
0
 protected virtual void RaiseDoorClosedEvent()
 {
     DoorClosedEvent?.Invoke(this, EventArgs.Empty);
 }
Beispiel #6
0
 public virtual void OnDoorClose()
 {
     DoorClosedEvent?.Invoke(this, new DoorClosedEventArgs());
 }