/// <summary>
 /// Initializes a new instance of the <see cref="ApplicationInstallStatusEventArgs"/> class.
 /// </summary>
 /// <param name="status">Install status</param>
 /// <param name="phase">Install phase</param>
 /// <param name="message">Install message</param>
 internal ApplicationInstallStatusEventArgs(
     ApplicationInstallStatus status,
     ApplicationInstallPhase phase,
     string message = "")
 {
     this.Status  = status;
     this.Phase   = phase;
     this.Message = message;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Sends application install status.
 /// </summary>
 /// <param name="status">Status of the installation.</param>
 /// <param name="phase">Current installation phase (ex: Uninstalling previous version)</param>
 /// <param name="message">Optional error message describing the install status.</param>
 private void SendAppInstallStatus(
     ApplicationInstallStatus status,
     ApplicationInstallPhase phase,
     string message = "")
 {
     this.AppInstallStatus?.Invoke(
         this,
         new ApplicationInstallStatusEventArgs(status, phase, message));
 }