Esempio n. 1
0
        public void Notify <T>(Func <T> createNotificationFunc)
            where T : INotification
        {
            Configure();
            var notification = _displaySupervisor.CreateNotification(createNotificationFunc);

            _lifetimeSupervisor.PushNotification(notification);
        }
Esempio n. 2
0
 public void Notify(Func <INotification> createNotificationFunc)
 {
     Configure();
     _lifetimeSupervisor.PushNotification(createNotificationFunc());
 }
Esempio n. 3
0
 public void Notify <T>(Func <T> createNotificationFunc)
     where T : INotification
 {
     Configure();
     _lifetimeSupervisor.PushNotification(createNotificationFunc());
 }