Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / CompModSwitches.cs / 1305376 / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ManagedIStream.cs
- DrawListViewColumnHeaderEventArgs.cs
- ZipIOLocalFileDataDescriptor.cs
- TextDecoration.cs
- EpmHelper.cs
- LockCookie.cs
- BufferedReadStream.cs
- TargetFrameworkUtil.cs
- MdImport.cs
- ExpressionReplacer.cs
- NavigatorOutput.cs
- SimpleApplicationHost.cs
- CuspData.cs
- ProxyManager.cs
- DbUpdateCommandTree.cs
- BooleanConverter.cs
- SqlDataRecord.cs
- QueryOutputWriter.cs
- InputLangChangeEvent.cs
- SendKeys.cs
- CodeVariableReferenceExpression.cs
- Semaphore.cs
- XmlSchemaResource.cs
- GeneratedCodeAttribute.cs
- SqlBuffer.cs
- ItemCheckEvent.cs
- WebHttpDispatchOperationSelectorData.cs
- UIElementParaClient.cs
- SystemIcons.cs
- EmptyEnumerable.cs
- TimeSpanOrInfiniteConverter.cs
- ExtentKey.cs
- Line.cs
- WebEventTraceProvider.cs
- NumericUpDownAcceleration.cs
- DataGridItem.cs
- GetLastErrorDetailsRequest.cs
- CompilerError.cs
- RawStylusInput.cs
- Stroke.cs
- TdsParserStaticMethods.cs
- FacetDescriptionElement.cs
- ImageMapEventArgs.cs
- sqlser.cs
- Emitter.cs
- ExistsInCollection.cs
- Permission.cs
- WorkflowWebHostingModule.cs
- ReliableMessagingHelpers.cs
- BitmapEffectDrawingContextState.cs
- namescope.cs
- DefaultTypeArgumentAttribute.cs
- StackSpiller.Bindings.cs
- HttpCapabilitiesEvaluator.cs
- InternalPermissions.cs
- RegexCharClass.cs
- SchemaTableColumn.cs
- MimeTypeAttribute.cs
- PenThreadPool.cs
- WindowsFormsHostAutomationPeer.cs
- DispatcherTimer.cs
- WasAdminWrapper.cs
- EastAsianLunisolarCalendar.cs
- SerialPort.cs
- InputScope.cs
- HostedTransportConfigurationBase.cs
- TextServicesCompartmentContext.cs
- Expression.DebuggerProxy.cs
- CompiledQuery.cs
- DataFormat.cs
- UTF7Encoding.cs
- HttpClientCertificate.cs
- BitmapFrame.cs
- Point3DAnimation.cs
- RijndaelCryptoServiceProvider.cs
- CodeAttachEventStatement.cs
- WindowsRebar.cs
- CodeIdentifiers.cs
- TextBox.cs
- DocumentStatusResources.cs
- XmlNode.cs
- ControlBuilderAttribute.cs
- StylusDownEventArgs.cs
- xamlnodes.cs
- BaseDataList.cs
- SubpageParagraph.cs
- HtmlInputHidden.cs
- UiaCoreTypesApi.cs
- ThreadInterruptedException.cs
- DateTimeFormat.cs
- ProcessHost.cs
- TextRangeEdit.cs
- ProxyHwnd.cs
- DeleteHelper.cs
- AuthenticateEventArgs.cs
- DictionaryGlobals.cs
- ThreadAttributes.cs
- ComponentSerializationService.cs
- DataGridRelationshipRow.cs
- MobileDeviceCapabilitiesSectionHandler.cs