public ToasterServer() { AllJoynBusAttachment toasterBusAttachment = new AllJoynBusAttachment(); toasterProducer = new ToasterProducer(toasterBusAttachment); toasterService = new ToasterService(); toasterService.ToastBurnt += ToasterService_ToastBurnt; toasterProducer.Service = toasterService; toasterProducer.Start(); }