public void ClearMessages(IClearStrategy clearStrategy) { var notifications = clearStrategy.GetNotificationsToRemove(_notifications); foreach (var notification in notifications) { CloseNotification(notification); } }
public void ClearMessages(IClearStrategy clearStrategy) { _lifetimeSupervisor?.ClearMessages(clearStrategy); }