Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / Diagnostics / AssertSection.cs / 1305376 / AssertSection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System.Configuration; namespace System.Diagnostics { internal class AssertSection : ConfigurationElement { private static readonly ConfigurationPropertyCollection _properties; private static readonly ConfigurationProperty _propAssertUIEnabled = new ConfigurationProperty("assertuienabled", typeof(bool), true, ConfigurationPropertyOptions.None); private static readonly ConfigurationProperty _propLogFile = new ConfigurationProperty("logfilename", typeof(string), String.Empty, ConfigurationPropertyOptions.None); static AssertSection() { _properties = new ConfigurationPropertyCollection(); _properties.Add(_propAssertUIEnabled); _properties.Add(_propLogFile); } [ConfigurationProperty("assertuienabled", DefaultValue = true)] public bool AssertUIEnabled { get { return (bool) this[_propAssertUIEnabled]; } } [ConfigurationProperty("logfilename", DefaultValue = "")] public string LogFileName { get { return (string) this[_propLogFile]; } } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } } } // 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
- CellParagraph.cs
- ReadOnlyDictionary.cs
- DataServiceEntityAttribute.cs
- ObjectAnimationUsingKeyFrames.cs
- CatalogPartCollection.cs
- StateItem.cs
- ConnectionsZoneAutoFormat.cs
- SqlWebEventProvider.cs
- DeploymentExceptionMapper.cs
- MarshalByValueComponent.cs
- GroupQuery.cs
- BamlRecordHelper.cs
- DataPagerCommandEventArgs.cs
- CatalogZoneBase.cs
- XpsFont.cs
- ClientRolePrincipal.cs
- HtmlInputRadioButton.cs
- DataPager.cs
- GPStream.cs
- SqlStatistics.cs
- QilXmlWriter.cs
- BaseTemplateBuildProvider.cs
- DBDataPermissionAttribute.cs
- RenderTargetBitmap.cs
- SimpleHandlerBuildProvider.cs
- Models.cs
- Renderer.cs
- ProjectionCamera.cs
- BaseParagraph.cs
- DataFormat.cs
- DigitShape.cs
- HandledEventArgs.cs
- CodeCompileUnit.cs
- RegionIterator.cs
- ExpressionConverter.cs
- SqlUDTStorage.cs
- XmlNamespaceDeclarationsAttribute.cs
- InputLanguageManager.cs
- InteropTrackingRecord.cs
- ConfigurationElementCollection.cs
- XslCompiledTransform.cs
- ComplexBindingPropertiesAttribute.cs
- XmlSchemaValidator.cs
- ChangeConflicts.cs
- TemplateBindingExtensionConverter.cs
- MultiViewDesigner.cs
- SynchronousChannelMergeEnumerator.cs
- AspNetHostingPermission.cs
- UserControl.cs
- DiscoveryClientRequestChannel.cs
- RegisteredScript.cs
- WeakReferenceKey.cs
- SetIterators.cs
- ContextDataSource.cs
- OracleParameterCollection.cs
- WindowsGrip.cs
- RequiredArgumentAttribute.cs
- AssociatedControlConverter.cs
- DelegateSerializationHolder.cs
- CustomSignedXml.cs
- HashCodeCombiner.cs
- IdentifierCollection.cs
- ElementAtQueryOperator.cs
- MsmqInputChannelBase.cs
- WebBrowser.cs
- CompModHelpers.cs
- ClientSettingsSection.cs
- ToolStripProgressBar.cs
- PathFigureCollectionConverter.cs
- FieldNameLookup.cs
- WindowsUpDown.cs
- ReachDocumentReferenceSerializerAsync.cs
- MemoryPressure.cs
- AdPostCacheSubstitution.cs
- ArrayHelper.cs
- ProtocolsInstallComponent.cs
- ToolStripItem.cs
- RemotingHelper.cs
- XPathDocument.cs
- FrameworkElementFactory.cs
- _NestedSingleAsyncResult.cs
- DesignerOptionService.cs
- DataRowExtensions.cs
- PostBackOptions.cs
- XmlTextAttribute.cs
- FilteredXmlReader.cs
- ArithmeticException.cs
- SessionViewState.cs
- ColorTranslator.cs
- DirectionalLight.cs
- TextDecorationLocationValidation.cs
- SafeSecurityHandles.cs
- errorpatternmatcher.cs
- CodePageUtils.cs
- StickyNoteHelper.cs
- XPathSingletonIterator.cs
- XamlVector3DCollectionSerializer.cs
- CLSCompliantAttribute.cs
- CngAlgorithm.cs
- ScriptingJsonSerializationSection.cs