示例#1
0
 // Token: 0x06001D69 RID: 7529 RVA: 0x00075958 File Offset: 0x00073B58
 private void CollectAndLogStatisticsInformation(SpeechLoggerProcessType processType, int audioLength)
 {
     if (this.parameters != null)
     {
         SpeechProcessorStatisticsLogger.SpeechProcessorStatisticsLogRow row = this.CollectStatisticsLog(processType, audioLength);
         SpeechRecognitionHandler.SpeechProcessorStatisticsLogger.Append(row);
     }
 }
示例#2
0
 // Token: 0x06001D6A RID: 7530 RVA: 0x00075984 File Offset: 0x00073B84
 private SpeechProcessorStatisticsLogger.SpeechProcessorStatisticsLogRow CollectStatisticsLog(SpeechLoggerProcessType processType, int audioLength)
 {
     return(new SpeechProcessorStatisticsLogger.SpeechProcessorStatisticsLogRow
     {
         RequestId = this.parameters.RequestId,
         Culture = this.parameters.Culture,
         Tag = this.parameters.Tag,
         TenantGuid = new Guid?(this.parameters.TenantGuid),
         UserObjectGuid = new Guid?(this.parameters.UserObjectGuid),
         TimeZone = this.parameters.TimeZone.ToString(),
         StartTime = ExDateTime.UtcNow,
         ProcessType = new SpeechLoggerProcessType?(processType),
         AudioLength = audioLength
     });
 }