mirror of
https://github.com/Stone-Red-Software/StoneRed.NetificationApi.git
synced 2026-09-04 00:36:05 +02:00
Update example project
This commit is contained in:
@@ -21,7 +21,7 @@ notificationApiClient.RequestedNotificationsReceived += (sender, args) =>
|
|||||||
Console.WriteLine("Requested notifications received");
|
Console.WriteLine("Requested notifications received");
|
||||||
foreach (NotificationReceivedData notificationReceiveData in args.Notifications)
|
foreach (NotificationReceivedData notificationReceiveData in args.Notifications)
|
||||||
{
|
{
|
||||||
Console.WriteLine($"Notification received: {notificationReceiveData.Id}");
|
Console.WriteLine($"Requested notification received: {notificationReceiveData.Id}");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ notificationApiClient.NewNotificationsReceived += (sender, args) =>
|
|||||||
Console.WriteLine("New notifications received");
|
Console.WriteLine("New notifications received");
|
||||||
foreach (NotificationReceivedData notificationReceiveData in args.Notifications)
|
foreach (NotificationReceivedData notificationReceiveData in args.Notifications)
|
||||||
{
|
{
|
||||||
Console.WriteLine($"New Notification received: {notificationReceiveData.Id}");
|
Console.WriteLine($"New notification received: {notificationReceiveData.Id}");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user