You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@ -0,0 +1,55 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user