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
- Baml2006KeyRecord.cs
- Adorner.cs
- RuleConditionDialog.Designer.cs
- TraceData.cs
- Attributes.cs
- InheritanceRules.cs
- XmlSignatureProperties.cs
- EdmComplexPropertyAttribute.cs
- WebPartTransformerCollection.cs
- ColumnClickEvent.cs
- DataControlFieldCollection.cs
- RuleAttributes.cs
- ACE.cs
- RegexStringValidator.cs
- IntSumAggregationOperator.cs
- LingerOption.cs
- RightsManagementEncryptedStream.cs
- InheritedPropertyChangedEventArgs.cs
- DecimalFormatter.cs
- SwitchLevelAttribute.cs
- FormParameter.cs
- CompareInfo.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- Point.cs
- CallbackWrapper.cs
- Parser.cs
- TextHintingModeValidation.cs
- TemplateControlCodeDomTreeGenerator.cs
- InputLangChangeEvent.cs
- NullRuntimeConfig.cs
- BatchStream.cs
- SingleBodyParameterMessageFormatter.cs
- TypeHelpers.cs
- HScrollBar.cs
- StateMachine.cs
- HttpModulesSection.cs
- DisposableCollectionWrapper.cs
- KeySplineConverter.cs
- QuestionEventArgs.cs
- RepeaterItemCollection.cs
- DataControlImageButton.cs
- ToolStripContainerDesigner.cs
- CompositeFontFamily.cs
- ProfileParameter.cs
- XmlDictionaryString.cs
- EncryptedPackageFilter.cs
- XmlSchemaDatatype.cs
- RecommendedAsConfigurableAttribute.cs
- BuilderPropertyEntry.cs
- GlyphRunDrawing.cs
- PropertyMetadata.cs
- SafeArrayRankMismatchException.cs
- FrameSecurityDescriptor.cs
- UIElement3DAutomationPeer.cs
- PathNode.cs
- dtdvalidator.cs
- NaturalLanguageHyphenator.cs
- ParsedAttributeCollection.cs
- WebPartDisplayModeCollection.cs
- DaylightTime.cs
- XPathNavigatorKeyComparer.cs
- ChangePassword.cs
- CodeIndexerExpression.cs
- CommunicationObject.cs
- SchemaImporterExtensionsSection.cs
- TraceContextRecord.cs
- ConfigurationSection.cs
- XmlTypeAttribute.cs
- Query.cs
- StorageSetMapping.cs
- PageParserFilter.cs
- TimelineClockCollection.cs
- SessionStateContainer.cs
- ProfileEventArgs.cs
- PropertyCollection.cs
- SafeEventLogWriteHandle.cs
- SecurityTokenException.cs
- ProgressBarRenderer.cs
- CodeGroup.cs
- DictionaryBase.cs
- StylusCaptureWithinProperty.cs
- WaitForChangedResult.cs
- StyleBamlRecordReader.cs
- ListSortDescriptionCollection.cs
- AsnEncodedData.cs
- ProtocolViolationException.cs
- RealProxy.cs
- FtpRequestCacheValidator.cs
- ListViewDataItem.cs
- SessionIDManager.cs
- TemplateNameScope.cs
- PolyBezierSegment.cs
- OneWayChannelFactory.cs
- IPEndPoint.cs
- AccessibleObject.cs
- WebPartCancelEventArgs.cs
- CompilerGeneratedAttribute.cs
- DetailsViewDeletedEventArgs.cs
- TCPClient.cs
- SurrogateChar.cs