예제 #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
                };
            }
        }
예제 #2
0
 public NotificacaoConfig(NotificacaoConfig entity)
 {
     this.UrlNotificationAPI     = entity.UrlNotificationAPI;
     this.UrlNotificationSignalR = entity.UrlNotificationSignalR;
 }