示例#1
0
 public bool closeDoor()
 {
     DoorClosed?.Invoke(this, EventArgs.Empty);
     return(true);
 }
 protected virtual void OnDoorClosed(EventArgs e)
 {
     DoorClosed?.Invoke(this, e);
 }
示例#3
0
 public void OnDoorClosed()
 {
     DoorClosed?.Invoke(this, EventArgs.Empty);
 }