Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / Diagnostics / AssertSection.cs / 1 / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DocumentViewer.cs
- InheritanceAttribute.cs
- HandleCollector.cs
- DesignTimeVisibleAttribute.cs
- HttpWebRequestElement.cs
- IteratorDescriptor.cs
- XamlDesignerSerializationManager.cs
- IgnoreSection.cs
- PipeException.cs
- WebPartEditVerb.cs
- Marshal.cs
- WebServiceReceive.cs
- DropShadowBitmapEffect.cs
- KeysConverter.cs
- safesecurityhelperavalon.cs
- SpellerHighlightLayer.cs
- FormViewPageEventArgs.cs
- JsonXmlDataContract.cs
- Type.cs
- SqlDataSourceQueryConverter.cs
- AxisAngleRotation3D.cs
- CodeAssignStatement.cs
- NativeCompoundFileAPIs.cs
- HttpCachePolicy.cs
- ServiceReference.cs
- ReadOnlyDictionary.cs
- TemplateKeyConverter.cs
- RuntimeConfigLKG.cs
- WindowsToolbar.cs
- SectionVisual.cs
- MimeTypePropertyAttribute.cs
- ParseHttpDate.cs
- StringReader.cs
- PixelFormat.cs
- DiscoveryClientProtocol.cs
- QilVisitor.cs
- Math.cs
- RSAPKCS1SignatureFormatter.cs
- MetadataResolver.cs
- TargetConverter.cs
- StandardRuntimeEnumValidatorAttribute.cs
- ToolStripMenuItemCodeDomSerializer.cs
- X509ClientCertificateAuthentication.cs
- HttpException.cs
- EventMap.cs
- FilterElement.cs
- ImageCreator.cs
- NativeRecognizer.cs
- ComponentEditorForm.cs
- ColumnClickEvent.cs
- EntityClassGenerator.cs
- ToolStripDropDownItem.cs
- BrowsableAttribute.cs
- WinInet.cs
- LeftCellWrapper.cs
- QuaternionKeyFrameCollection.cs
- XPathSelfQuery.cs
- ScriptingSectionGroup.cs
- StickyNoteHelper.cs
- handlecollector.cs
- CodeAccessSecurityEngine.cs
- DataSourceHelper.cs
- XamlInt32CollectionSerializer.cs
- SqlCacheDependencyDatabaseCollection.cs
- Rect3DValueSerializer.cs
- OutOfMemoryException.cs
- MobilePage.cs
- Cursor.cs
- FileLogRecordEnumerator.cs
- ForceCopyBuildProvider.cs
- QilPatternFactory.cs
- SingleStorage.cs
- NameTable.cs
- ImageMap.cs
- Overlapped.cs
- SoapFault.cs
- HttpCookiesSection.cs
- ToolStripSystemRenderer.cs
- LineBreakRecord.cs
- TreeViewItemAutomationPeer.cs
- Rotation3DKeyFrameCollection.cs
- SchemaEntity.cs
- IImplicitResourceProvider.cs
- LocatorManager.cs
- selecteditemcollection.cs
- Rect3D.cs
- CultureData.cs
- CommonGetThemePartSize.cs
- ProgressBarAutomationPeer.cs
- ByeOperation11AsyncResult.cs
- RelationshipConverter.cs
- TextProperties.cs
- ImageAnimator.cs
- PublishLicense.cs
- Axis.cs
- WebHttpSecurityElement.cs
- XPathQueryGenerator.cs
- AutomationPropertyInfo.cs
- NativeMethodsCLR.cs
- DBConcurrencyException.cs