Plane.Sdk3/PlaneGcsSdk_Shared/Communication/ExceptionThrownEventSource.cs

15 lines
350 B
C#
Raw Permalink Normal View History

2017-02-27 02:02:19 +08:00
using System;
namespace Plane.Communication
{
public abstract class ExceptionThrownEventSource
{
public event EventHandler<ExceptionThrownEventArgs> ExceptionThrown;
protected void RaiseExceptionThrown(Exception ex)
{
ExceptionThrown?.Invoke(this, new ExceptionThrownEventArgs(ex));
}
}
}