namespace QC.QTMTargetHelper;

public class TargetHelper
{
	public static event TargetMessageDelegate TargetMessageReceived;

	private TargetHelper()
	{
	}

	public static bool OnTargetMessage(object sender, TargetMessageEventsArg e)
	{
		try
		{
			if (TargetHelper.TargetMessageReceived != null)
			{
				return TargetHelper.TargetMessageReceived(sender, e);
			}
		}
		catch
		{
		}
		return false;
	}
}
