Ejemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (notifConfig == null)
            {
                var api     = ConfigurationManager.AppSettings["UrlNotificationApi"];
                var signalR = ConfigurationManager.AppSettings["UrlNotificationSignalR"];

                notifConfig = new NotificacaoConfig()
                {
                    UrlNotificationAPI     = api,
                    UrlNotificationSignalR = signalR
                };
            }
        }
Ejemplo n.º 2
0
 public NotificacaoConfig(NotificacaoConfig entity)
 {
     this.UrlNotificationAPI     = entity.UrlNotificationAPI;
     this.UrlNotificationSignalR = entity.UrlNotificationSignalR;
 }