internal void SendPulseSessionEvent(RaygunPulseSessionEventType eventType) { if (eventType == RaygunPulseSessionEventType.SessionStart) { _sessionId = Guid.NewGuid().ToString(); } ThreadPool.QueueUserWorkItem(c => SendPulseSessionEventCore(eventType)); }
private static void OnDidBecomeActive(NSNotification notification) { //Console.WriteLine("SESSION START"); _raygunClient.SendPulseSessionEvent(RaygunPulseSessionEventType.SessionStart); if (_lastViewName != null) { _raygunClient.SendPulseTimingEvent(RaygunPulseEventType.ViewLoaded, _lastViewName, 0); } }