Beispiel #1
0
 public Push(string baseUrl)
 {
     this.baseUrl = baseUrl;
     features     = new Pull(baseUrl, withRefresh: false).PullFeatures();
     this.itemHub = new HubClient().Open(baseUrl, "boardHub")
                    .On <string>("featureCreated", LoadUpdatedStatus)
                    .On <string>("featureReleasedForEveryone", this.LoadUpdatedStatus)
                    .On <string>("featureReleasedWithConditions", this.LoadUpdatedStatus)
                    .On <string>("featureRollbacked", this.LoadUpdatedStatus);
     this.editHub = new HubClient().Open(baseUrl, "editPanelHub")
                    .On <string>("descriptionUpdated", this.LoadUpdatedStatus)
                    .On <string>("linkedToTicket", this.LoadUpdatedStatus)
                    .On <string>("conditionsChanged", this.LoadUpdatedStatus);
 }
Beispiel #2
0
 public Push(string baseUrl)
 {
     this.baseUrl = baseUrl;
     features = new Pull(baseUrl, withRefresh: false).PullFeatures();
     this.itemHub = new HubClient().Open(baseUrl, "boardHub")
         .On<string>("featureCreated", LoadUpdatedStatus)
         .On<string>("featureReleasedForEveryone", this.LoadUpdatedStatus)
         .On<string>("featureReleasedWithConditions", this.LoadUpdatedStatus)
         .On<string>("featureRollbacked", this.LoadUpdatedStatus);
     this.editHub = new HubClient().Open(baseUrl, "editPanelHub")
         .On<string>("descriptionUpdated", this.LoadUpdatedStatus)
         .On<string>("linkedToTicket", this.LoadUpdatedStatus)
         .On<string>("conditionsChanged", this.LoadUpdatedStatus);
 }