/// <summary> /// Initializes a new instance of the <see cref="NetworkStatusChangedEventArgs"/> class. /// </summary> /// <param name="profileName"> /// The network profile name. /// </param> /// <param name="connectionType"> /// The connection type. /// </param> /// <param name="mobileSignalState"> /// The mobile connection type. /// </param> /// <param name="signal"> /// The signal strength. /// </param> public NetworkStatusChangedEventArgs( string profileName, NetworkConnectionType connectionType, MobileNetworkConnectionType mobileSignalState, byte?signal) { this.Status = new NetworkStatus(profileName, connectionType, mobileSignalState, signal); }
/// <summary> /// Initializes a new instance of the <see cref="NetworkStatus"/> class. /// </summary> /// <param name="profileName"> /// The network profile name. /// </param> /// <param name="connectionType"> /// The connection type. /// </param> /// <param name="mobileConnectionType"> /// The mobile connection type. /// </param> /// <param name="signal"> /// The signal strength. /// </param> public NetworkStatus( string profileName, NetworkConnectionType connectionType, MobileNetworkConnectionType mobileConnectionType, byte?signal) { this.ProfileName = profileName; this.ConnectionType = connectionType; this.MobileConnectionType = mobileConnectionType; this.Signal = signal; }