/// <summary>
        /// Logs datagrid usage details
        /// </summary>
        internal static void LogUsageDetails()
        {
            EventSource logger = TraceLoggingProvider.GetProvider();

            logger?.Write(DataGridUsed, TelemetryEventSource.MeasuresOptions(), new
            {
                AppUsesDataGrid = true
            });
        }
示例#2
0
        internal static void LogUsedControlsDetails()
        {
            EventSource logger = TraceLoggingProvider.GetProvider();

            logger?.Write(ControlsUsed, TelemetryEventSource.MeasuresOptions(), new
            {
                ControlsUsedInApp = _telemetryControls
            });
        }
        // Token: 0x06007D23 RID: 32035 RVA: 0x00232D3C File Offset: 0x00230F3C
        internal static void LogUsedControlsDetails()
        {
            EventSource provider = TraceLoggingProvider.GetProvider();

            if (provider != null)
            {
                provider.Write(ControlsTraceLogger.ControlsUsed, TelemetryEventSource.MeasuresOptions(), new
                {
                    ControlsUsedInApp = ControlsTraceLogger._telemetryControls
                });
            }
        }