public static void OnResume([State(StateScope.MethodInvocation)] ref MethodCallData callData) { if (!callData.IsNull) { callData.Resume(); } }
public static void OnYield([State(StateScope.MethodInvocation)] ref MethodCallData callData) { if (!callData.IsNull) { callData.Pause(); } }
public static void OnSuccess([State(StateScope.MethodInvocation)] ref MethodCallData callData) { if (!callData.IsNull) { callData.Stop(); Publish(callData); } }
public static void OnException([State(StateScope.MethodInvocation)] ref MethodCallData callData) { if (!callData.IsNull) { callData.AddException(); callData.Stop(); Publish(callData); } }
public void OnEntry([State(StateScope.MethodInvocation)] out MethodCallData callData) { callData = default; if (ProfilingServices.IsEnabled) { callData.Start(this._metadata); } }