Beispiel #1
0
 public void SimulateBroadcastNotification(string Message, string Severity)
 {
     BroadcastNotification broadcast = new BroadcastNotification()
     {
         BroadcastMessages = new BroadcastMessage[1]
     };
     MessageReceived(broadcast);
 }
Beispiel #2
0
 public void SimulateBroadcastNotification(string Message, string Severity)
 {
     BroadcastNotification broadcast = new BroadcastNotification()
     {
         BroadcastMessages = new object[1] {
             new Dictionary<string, object> () {
                 {"id", 0},
                 {"active", true},
                 {"content", Message},
                 {"messageKey", "generic"},
                 {"severity", Severity}
             }
         }
     };
     MessageReceived(broadcast);
 }