aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Web/DownloadLatestVersionResponse.cs
blob: 60251d455880c68de6d508f785cd164e2d97d30b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Transport.Web;

namespace Tango.MachineStudio.Common.Web
{
    public class DownloadLatestVersionResponse : WebResponseMessage
    {
        public String Version { get; set; }

        public String BlobAddress { get; set; }

        public String CdnAddress { get; set; }
    }
}
span class="p">) { this.handler = handler; this.sender = sender; this.e = e; } public void Call() { handler(sender, e); } } Queue<EventCall> eventCalls = new Queue<EventCall>(); public void DelayedRaise(EventHandler handler, object sender, EventArgs e) { if (handler != null) { eventCalls.Enqueue(new EventCall(handler, sender, e)); } } public void RaiseEvents() { while (eventCalls.Count > 0) eventCalls.Dequeue().Call(); } } }