/// <summary> /// Raises the power changed event. /// </summary> private static void RaisePowerChanged() { var arguments = new PowerChangeEventArgs { PowerInformation = CurrentStatus }; if (_listeningForPowerEvents) { _powerChanged(null, arguments); } }
/// <summary> /// Raises the power changed event. /// </summary> private static void RaisePowerChanged() { var arguments = new PowerChangeEventArgs {PowerInformation = CurrentStatus}; if (_listeningForPowerEvents) _powerChanged(null, arguments); }