예제 #1
0
 public MainPage()
 {
     InitializeComponent();
     signalR                     = App.signalR;
     signalR.Connected          += SignalR_ConnectionChanged;
     signalR.ConnectionFailed   += SignalR_ConnectionChanged;
     signalR.NewMessageReceived += SignalR_NewMessageReceived;
 }
예제 #2
0
 public App()
 {
     InitializeComponent();
     signalR  = new SignalRService();
     MainPage = new MainPage();
 }