public void UpdateDeviceInfo(LogEventCommonData logEventCommonData) { if (!string.IsNullOrEmpty(logEventCommonData.Platform)) { this.CheckAndAddKeyValue("pl", logEventCommonData.Platform); } if (!string.IsNullOrEmpty(logEventCommonData.Browser)) { this.CheckAndAddKeyValue("brn", logEventCommonData.Browser); } if (!string.IsNullOrEmpty(logEventCommonData.BrowserVersion)) { this.CheckAndAddKeyValue("brv", logEventCommonData.BrowserVersion); } if (!string.IsNullOrEmpty(logEventCommonData.OperatingSystem)) { this.CheckAndAddKeyValue("osn", logEventCommonData.OperatingSystem); } if (!string.IsNullOrEmpty(logEventCommonData.OperatingSystemVersion)) { this.CheckAndAddKeyValue("osv", logEventCommonData.OperatingSystemVersion); } if (!string.IsNullOrEmpty(logEventCommonData.DeviceModel)) { this.CheckAndAddKeyValue("dm", logEventCommonData.DeviceModel); } if (!string.IsNullOrEmpty(logEventCommonData.PalBuild)) { this.CheckAndAddKeyValue("pbld", logEventCommonData.PalBuild); } }
public void UpdateClientBuildVersion(LogEventCommonData logEventCommonData) { if (!string.IsNullOrEmpty(logEventCommonData.ClientBuild)) { this.CheckAndAddKeyValue("cbld", logEventCommonData.ClientBuild); } }
public void UpdatePerfTraceDatapoint(UserContext userContext) { if (userContext != null) { LogEventCommonData logEventCommonData = userContext.LogEventCommonData; this.UpdateDeviceInfo(logEventCommonData); this.UpdateClientInfo(logEventCommonData); this.UpdateUserAgent(userContext.UserAgent); } }
public void UpdatePerformanceNavigationDatapoint(UserContext userContext) { LogEventCommonData logEventCommonData = userContext.LogEventCommonData; this.UpdateDeviceInfo(logEventCommonData); this.UpdateFlightInfo(logEventCommonData); this.UpdateTenantGuid(userContext.ExchangePrincipal); this.UpdateMailboxGuid(userContext.ExchangePrincipal); this.UpdateUserAgent(userContext.UserAgent); }
public void UpdateClientLocaleInfo(LogEventCommonData logEventCommonData) { if (!string.IsNullOrEmpty(logEventCommonData.Culture)) { this.CheckAndAddKeyValue("clg", logEventCommonData.Culture); } if (!string.IsNullOrEmpty(logEventCommonData.TimeZone)) { this.CheckAndAddKeyValue("tz", logEventCommonData.TimeZone); } }
public void UpdateFlightInfo(LogEventCommonData logEventCommonData) { if (!string.IsNullOrEmpty(logEventCommonData.Flights)) { this.CheckAndAddKeyValue("flt", logEventCommonData.Flights); } if (!string.IsNullOrEmpty(logEventCommonData.Features)) { this.CheckAndAddKeyValue("ftr", logEventCommonData.Features); } }
public void UpdateClientInfo(LogEventCommonData logEventCommonData) { this.UpdateClientLocaleInfo(logEventCommonData); if (!string.IsNullOrEmpty(logEventCommonData.Layout)) { this.CheckAndAddKeyValue("l", logEventCommonData.Layout); } if (!string.IsNullOrEmpty(logEventCommonData.OfflineEnabled)) { this.CheckAndAddKeyValue("oe", logEventCommonData.OfflineEnabled); } }
public void UpdateActionRecordDataPoint(UserContext userContext) { LogEventCommonData logEventCommonData = userContext.LogEventCommonData; this.UpdateDeviceInfo(logEventCommonData); if (!string.IsNullOrEmpty(logEventCommonData.OfflineEnabled)) { this.CheckAndAddKeyValue("oe", logEventCommonData.OfflineEnabled); } if (!string.IsNullOrEmpty(logEventCommonData.Layout)) { this.CheckAndAddKeyValue("l", logEventCommonData.Layout); } this.UpdateTenantGuid(userContext.ExchangePrincipal); this.UpdateUserAgent(userContext.UserAgent); }