AppActs.API.DataUploader.AppSession.logEvent C# (CSharp) Method

logEvent() private method

private logEvent ( EventType eventType, string screenName, string action, long timeUsed ) : void
eventType EventType
screenName string
action string
timeUsed long
return void
        private void logEvent(EventType eventType, string screenName, string action, long timeUsed)
        {
            this.addTime();
            this.iDeviceService.Log
                (
                    new Event()
                    {
                        ApplicationId = applicationId,
                        DeviceId = deviceId,
                        EventTypeId = eventType,
                        EventName = action,
                        DateCreatedOnDevice = timeWhenUsed,
                        ScreenName = screenName,
                        SessionId = sessionId,
                        Length = timeUsed,
                        Version = version,
                        Date = timeWhenUsed.Date,
                        DateCreated = timeWhenUsed
                    }
                );
        }