public void OnTestStart(ITest test) { if (testStart != null) { TestStartEvent evnt = testStart; //avoid race condition evnt(test); } }
public virtual void OnTestStartEvent(TData obj) { TestStartEvent?.Invoke(obj); }