|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#define TRACE
//
// Description: Defines TraceHwndHost class, for providing debugging information
// for HwndHosts
//
using System;
using System.Collections;
using System.ComponentModel;
using System.Diagnostics;
using System.Reflection;
using System.Text;
using System.Windows;
using System.Windows.Data;
using MS.Internal.Data;
using MS.Win32;
namespace MS.Internal
{
/// <summary>
/// Provides a central mechanism for providing debugging information
/// to aid programmers in using HwndHost.
/// Helpers are defined here.
/// The rest of the class is generated; see also: AvTraceMessage.txt and genTraceStrings.pl
/// </summary>
internal static partial class TraceHwndHost
{
// ------------------------------------------------------------------
// Constructors
// ------------------------------------------------------------------
static TraceHwndHost()
{
// This tells tracing that IsEnabled should be true if we're in the debugger,
// even if the registry flag isn't turned on. By default, IsEnabled is only
// true if the registry is set.
_avTrace.EnabledByDebugger = true;
}
}
}
|