Esempio n. 1
0
        public static void Initialize(IMessageBus messagebus)
        {
            _instance = new ReportingService();

            messagebus.Subscribe(typeof(SalaryCalculationDoneEvent), _instance.HandleSuccessfulSalaryCalculation);
        }
        public static void Initialize(IMessageBus messagebus)
        {
            _instance = new ReportingService();

            messagebus.Subscribe(typeof (SalaryCalculationDoneEvent), _instance.HandleSuccessfulSalaryCalculation);
        }