protected virtual void OnFrontDoorEvent(FrontDoorOpenEventArgs args) { FrontDoorEvent?.Invoke(this, args); _bus.Publish(new DoorOpenendMessage(DoorOpenendMessage.DoorType.Front, "Fellon!")); }
private static void VOnFrontDoorEvent(object sender, FrontDoorOpenEventArgs args) { Console.WriteLine("Frontdoor Opened!"); }