// Token: 0x06000022 RID: 34 RVA: 0x00002544 File Offset: 0x00000744 internal static TResult TrackLatency <TResult>(IFlightSettingRepository flightSettingRepository, RequestDetailsLogger logger, Func <TResult> method, string keyToLog) { Stopwatch stopwatch = new Stopwatch(); stopwatch.Start(); TResult result; try { result = method(); } finally { stopwatch.Stop(); logger.AppendGenericInfo(keyToLog, stopwatch.ElapsedMilliseconds); ExTraceGlobals.LatencyTracer.TraceDebug <string>((long)keyToLog.GetHashCode(), string.Format("{0} - {1}", keyToLog, stopwatch.ElapsedMilliseconds), null); } return(result); }
// Token: 0x06000024 RID: 36 RVA: 0x000025D0 File Offset: 0x000007D0 internal AutoDiscoverV2Response ProcessRequest(AutoDiscoverV2Request request, IFlightSettingRepository flightSettings, ITenantRepository tenantRepository) { this.flightSettings = flightSettings; this.tenantRepository = tenantRepository; return(this.Execute(request, tenantRepository)); }
// Token: 0x06000023 RID: 35 RVA: 0x000025B8 File Offset: 0x000007B8 internal AutoDiscoverV2Response ProcessRequest(AutoDiscoverV2Request request, IFlightSettingRepository flightSettings) { return(this.ProcessRequest(request, flightSettings, new TenantRepository(this.logger))); }
// Token: 0x06000021 RID: 33 RVA: 0x00002527 File Offset: 0x00000727 internal AutoDiscoverV2(RequestDetailsLogger logger, IFlightSettingRepository flightSettings = null, ITenantRepository tenantRepository = null) { this.logger = logger; this.flightSettings = flightSettings; this.tenantRepository = tenantRepository; }