Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / ComponentModel / CompModSwitches.cs / 1 / CompModSwitches.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System.Configuration.Assemblies; using System.Diagnostics; using System.Runtime.InteropServices; using System.Runtime.Remoting; using System.Runtime.Serialization.Formatters; using System.Security.Permissions; using System.Threading; ///[HostProtection(SharedState = true)] internal static class CompModSwitches { private static BooleanSwitch commonDesignerServices; private static TraceSwitch eventLog; public static BooleanSwitch CommonDesignerServices { get { if (commonDesignerServices == null) { commonDesignerServices = new BooleanSwitch("CommonDesignerServices", "Assert if any common designer service is not found."); } return commonDesignerServices; } } public static TraceSwitch EventLog { get { if (eventLog == null) { eventLog = new TraceSwitch("EventLog", "Enable tracing for the EventLog component."); } return eventLog; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebPartManager.cs
- ExecutionContext.cs
- ConfigXmlAttribute.cs
- RequestValidator.cs
- ItemAutomationPeer.cs
- HtmlInputButton.cs
- StringUtil.cs
- MethodBuilderInstantiation.cs
- StructureChangedEventArgs.cs
- _TLSstream.cs
- TrackingCondition.cs
- XmlEventCache.cs
- HtmlControl.cs
- UTF8Encoding.cs
- XmlnsDictionary.cs
- FindCriteriaCD1.cs
- TemplateBindingExtensionConverter.cs
- SystemBrushes.cs
- Knowncolors.cs
- WorkflowOperationContext.cs
- MultiSelectRootGridEntry.cs
- Run.cs
- RelationshipSet.cs
- ContentHostHelper.cs
- ConfigurationLocation.cs
- MailDefinition.cs
- TextEditorCopyPaste.cs
- PointLight.cs
- RowToParametersTransformer.cs
- StringBuilder.cs
- BamlTreeUpdater.cs
- CodeStatement.cs
- SortDescription.cs
- IERequestCache.cs
- HtmlFormParameterWriter.cs
- DllNotFoundException.cs
- SQLByte.cs
- ObjectQuery_EntitySqlExtensions.cs
- ApplicationSettingsBase.cs
- PublisherIdentityPermission.cs
- FileDataSourceCache.cs
- PropertyChangedEventArgs.cs
- HtmlTernaryTree.cs
- HwndSource.cs
- SimpleTypeResolver.cs
- BindingContext.cs
- EntityDataSourceReferenceGroup.cs
- MSAAEventDispatcher.cs
- CombinedGeometry.cs
- HtmlContainerControl.cs
- Message.cs
- SpecularMaterial.cs
- PositiveTimeSpanValidator.cs
- RoleManagerEventArgs.cs
- ToolStripPanel.cs
- DebugInfoGenerator.cs
- DataGridViewColumnStateChangedEventArgs.cs
- XamlHostingSection.cs
- KeyedHashAlgorithm.cs
- PostBackOptions.cs
- JsonWriter.cs
- XPathException.cs
- ProfilePropertyNameValidator.cs
- DeviceFilterDictionary.cs
- BaseTemplateBuildProvider.cs
- XsltSettings.cs
- SourceExpressionException.cs
- EntitySqlQueryState.cs
- WebServiceParameterData.cs
- Light.cs
- GPPOINT.cs
- StringUtil.cs
- RootNamespaceAttribute.cs
- ButtonFlatAdapter.cs
- TableProviderWrapper.cs
- SafePEFileHandle.cs
- SelectingProviderEventArgs.cs
- Util.cs
- StrongNameKeyPair.cs
- CookieProtection.cs
- SqlDataSource.cs
- QilDataSource.cs
- EditingCommands.cs
- ProcessMonitor.cs
- BindingUtils.cs
- ExtenderControl.cs
- ItemsPanelTemplate.cs
- TransportListener.cs
- LiteralControl.cs
- UnconditionalPolicy.cs
- PrimaryKeyTypeConverter.cs
- CmsUtils.cs
- UserControlParser.cs
- SqlDataSourceConfigureFilterForm.cs
- Semaphore.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- EventLogInformation.cs
- XmlCodeExporter.cs
- SimpleMailWebEventProvider.cs
- PathFigure.cs