Commit ccda3057 authored by David Kline's avatar David Kline Committed by GitHub
Browse files

Merge pull request #110 from davidkline-ms/master

make our events actual events
parents 6fbd03b6 d1d811ef
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -47,11 +47,7 @@ namespace Microsoft.Tools.WindowsDevicePortal
        /// <summary>
        /// Gets or sets install status handler.
        /// </summary>
        public ApplicationInstallStatusEventHandler AppInstallStatus
        {
            get;
            set;
        }
        public event ApplicationInstallStatusEventHandler AppInstallStatus;

        /// <summary>
        /// Gets the collection of applications installed on the device.
+1 −5
Original line number Diff line number Diff line
@@ -101,11 +101,7 @@ namespace Microsoft.Tools.WindowsDevicePortal
        /// <summary>
        /// Gets or sets handler for reporting connection status.
        /// </summary>
        public DeviceConnectionStatusEventHandler ConnectionStatus
        {
            get;
            set;
        }
        public event DeviceConnectionStatusEventHandler ConnectionStatus;

        /// <summary>
        /// Gets the status code for establishing our connection.
+2 −2
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ namespace Microsoft.Tools.WindowsDevicePortal
    /// </summary>
    /// <param name="sender">sender object</param>
    /// <param name="args">install args</param>
    public delegate void ApplicationInstallStatusEventHandler(object sender, ApplicationInstallStatusEventArgs args);
    public delegate void ApplicationInstallStatusEventHandler(DevicePortal sender, ApplicationInstallStatusEventArgs args);

    /// <summary>
    /// Application install status
@@ -70,7 +70,7 @@ namespace Microsoft.Tools.WindowsDevicePortal
    /// <summary>
    /// Application install status event args
    /// </summary>
    public class ApplicationInstallStatusEventArgs
    public class ApplicationInstallStatusEventArgs : System.EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ApplicationInstallStatusEventArgs"/> class.
+2 −2
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ namespace Microsoft.Tools.WindowsDevicePortal
    /// </summary>
    /// <param name="sender">sender object</param>
    /// <param name="args">connection status details</param>
    public delegate void DeviceConnectionStatusEventHandler(object sender, DeviceConnectionStatusEventArgs args);
    public delegate void DeviceConnectionStatusEventHandler(DevicePortal sender, DeviceConnectionStatusEventArgs args);

    /// <summary>
    /// Connection status enumeration
@@ -80,7 +80,7 @@ namespace Microsoft.Tools.WindowsDevicePortal
    /// <summary>
    /// Contains the details about the connection status
    /// </summary>
    public class DeviceConnectionStatusEventArgs
    public class DeviceConnectionStatusEventArgs : System.EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="DeviceConnectionStatusEventArgs"/> class.