Exemplo n.º 1
0
 /// <summary>
 /// Handler for the Application Start event.
 /// </summary>
 /// <param name="sender">The parameter is not used.</param>
 /// <param name="ea">The parameter is not used.</param>
 public void Application_Start(object sender, EventArgs ea)
 {
     // -
     // Start the cloud service.
     // -
     Global.cloudService = new CloudService();
 }
Exemplo n.º 2
0
 public static void Main()
 {
     var cloudService = new CloudService();
     System.Threading.Thread.Sleep(System.Threading.Timeout.Infinite);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Handler for the Stop command.
 /// </summary>
 protected override void OnStop()
 {
     this.cloudService = null;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Handler for the Start command.
 /// </summary>
 /// <param name="args">Arguments for service Start command.</param>
 protected override void OnStart(string[] args)
 {
     this.cloudService = new CloudService();
 }