mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
Adding reference source for System.Data System.Data.DataSetExtensions System.Data.Entity System.Data.Entity.Design System.Data.Linq System.Data.SqlXml System.ServiceModel System.ServiceModel.Activation System.ServiceModel.Activities System.ServiceModel.Channels System.ServiceModel.Discovery System.ServiceModel.Internals System.ServiceModel.Routing System.ServiceModel.WasHosting System.ServiceModel.Web System.Web System.Web.ApplicationServices System.Web.DynamicData System.Web.Entity System.Web.Entity.Design System.Web.Extensions System.Web.Mobile System.Web.Routing System.Web.Services System.Xml System.Xml.Linq
56 lines
2.4 KiB
C#
56 lines
2.4 KiB
C#
|
|
//------------------------------------------------------------------------------
|
|
// <copyright file="Component.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.ComponentModel {
|
|
using System.Diagnostics;
|
|
|
|
/// <internalonly/>
|
|
internal sealed class CompModSwitches {
|
|
private static BooleanSwitch dynamicDiscoVirtualSearch;
|
|
private static TraceSwitch dynamicDiscoSearcher;
|
|
private static BooleanSwitch disableRemoteDebugging;
|
|
private static TraceSwitch remote;
|
|
|
|
public static BooleanSwitch DisableRemoteDebugging {
|
|
get {
|
|
if (disableRemoteDebugging == null) {
|
|
disableRemoteDebugging = new BooleanSwitch("Remote.Disable", "Disable remote debugging for web methods.");
|
|
}
|
|
return disableRemoteDebugging;
|
|
}
|
|
}
|
|
|
|
public static TraceSwitch DynamicDiscoverySearcher {
|
|
get {
|
|
if (dynamicDiscoSearcher == null) {
|
|
dynamicDiscoSearcher = new TraceSwitch("DynamicDiscoverySearcher", "Enable tracing for the DynamicDiscoverySearcher class.");
|
|
}
|
|
return dynamicDiscoSearcher;
|
|
}
|
|
}
|
|
|
|
public static BooleanSwitch DynamicDiscoveryVirtualSearch {
|
|
get {
|
|
if (dynamicDiscoVirtualSearch == null) {
|
|
dynamicDiscoVirtualSearch = new BooleanSwitch("DynamicDiscoveryVirtualSearch", "Force virtual search for DiscoveryRequestHandler class.");
|
|
}
|
|
return dynamicDiscoVirtualSearch;
|
|
}
|
|
}
|
|
|
|
public static TraceSwitch Remote {
|
|
get {
|
|
if (remote == null) {
|
|
remote = new TraceSwitch("Microsoft.WFC.Remote", "Enable tracing for remote method calls.");
|
|
}
|
|
return remote;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|