public async void UnwindToNotificacionesTableViewController(UIStoryboardSegue segue) { dataNotifications = await MobileAppConnection.GetAllNotifications(); foreach (Notificaciones notificacion in dataNotifications) { listaNotificaciones.Add(notificacion); } notificacionesTableView.Source = new TableSourceMedicos(listaNotificaciones); notificacionesTableView.ReloadData(); }
public static EbAzureNFClient Create(MobileAppConnection con) { if (con == null || con.IsNFConnectionsEmpty()) { throw new Exception("Azure NotificationHub connections are empty"); } Console.WriteLine("Azure connection string :" + con.AzureNFConnection); Console.WriteLine("Azure HubName :" + con.AzureNFHubName); return(new EbAzureNFClient(con.AzureNFConnection, con.AzureNFHubName)); }
public async override void ViewDidLoad() { base.ViewDidLoad(); try { dataNotifications = await MobileAppConnection.GetAllNotifications(); foreach (Notificaciones notificacion in dataNotifications) { listaNotificaciones.Add(notificacion); } notificacionesTableView.Source = new TableSourceMedicos(listaNotificaciones); notificacionesTableView.ReloadData(); } catch (Exception ex) { } }
public static EbAzureNFClient Create(string iSolutionId, IRedisClient redis) { EbConnectionFactory factory = new EbConnectionFactory(iSolutionId, redis); if (factory == null) { throw new Exception("No connection object for sid " + iSolutionId); } MobileAppConnection con = factory?.MobileAppConnection; if (con == null || con.IsNFConnectionsEmpty()) { throw new Exception("Azure NotificationHub connections are empty"); } Console.WriteLine("Azure connection string :" + con.AzureNFConnection); Console.WriteLine("Azure HubName :" + con.AzureNFHubName); return(new EbAzureNFClient(con.AzureNFConnection, con.AzureNFHubName)); }