public void ReceiveNotification(string title, string message)
        {
            var args = new NotificationEventArg()
            {
                Title   = title,
                Message = message,
            };

            NotificationReceived?.Invoke(null, args);
        }
Exemple #2
0
 private static void NameManagerOnOnNotification(object sender, NotificationEventArg notificationEventArg)
 {
     //log the message
     Console.WriteLine(notificationEventArg.Message);
 }
 //logları yazdırmak için
 private static void NameManagerOnOnNotification(object sender, NotificationEventArg notificationEventArg)
 {
     //Dönen mesajı bastırıyoruz
     Console.WriteLine(notificationEventArg.Message);
 }