コード例 #1
0
ファイル: Devices.cs プロジェクト: DIVEROVIEDO/DotSpatial
 /// <summary>
 /// Creates a new instance of the DeviceDetectionException event arguments.
 /// </summary>
 /// <param name="exception">The exception.</param>
 public DeviceDetectionExceptionEventArgs(DeviceDetectionException exception)
 {
     _exception = exception;
 }
コード例 #2
0
ファイル: Devices.cs プロジェクト: DIVEROVIEDO/DotSpatial
 /// <summary>
 /// Called when [device detection attempt failed].
 /// </summary>
 /// <param name="exception">The exception.</param>
 internal static void OnDeviceDetectionAttemptFailed(DeviceDetectionException exception)
 {
     if (DeviceDetectionAttemptFailed != null)
         DeviceDetectionAttemptFailed(exception.Device, new DeviceDetectionExceptionEventArgs(exception));
 }