_queue.QueueBroadcast(new PurchaseCreatedEvent(organisation, purchase));
System.Reflection.TargetException
Message : Non-static method requires a target.
StackTrace : at System.Reflection.RuntimeMethodInfo.CheckConsistency(Object target)
at System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Coravel.Events.Dispatcher.Broadcast[TEvent](TEvent toBroadcast)
at Coravel.Queuing.Queue.<>c__DisplayClass10_0`1.<<QueueBroadcast>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Coravel.Tasks.ActionOrAsyncFunc.Invoke()
at Coravel.Queuing.Queue.InvokeTask(ActionOrAsyncFunc task)
Help Link :
Source : System.Private.CoreLib