Beispiel #1
0
        /// <summary>
        /// Validates the device.
        /// </summary>
        /// <param name="device">The device.</param>
        /// <returns></returns>
        private bool ValidateDevice(Device device)
        {
            bool result = false;

            try {
                if (ValidatePlugin(device) == true) {

                    result = true;
                }
            } catch (Exception ex) {
                Trace.WriteLine(ex.Message, ex.StackTrace, LogCategory.Error);
            }

            return result;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="DeviceSelectionChangedEventArgs"/> class.
 /// </summary>
 /// <param name="device">The device.</param>
 public DeviceSelectionChangedEventArgs(Device device) {
     _device = device;
 }