Code:
/ DotNET / DotNET / 8.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
- XmlCompatibilityReader.cs
- BindingSource.cs
- ByteArrayHelperWithString.cs
- AdjustableArrowCap.cs
- SharedConnectionInfo.cs
- GregorianCalendarHelper.cs
- XmlSchemaSimpleTypeUnion.cs
- Int64AnimationBase.cs
- PropertyHelper.cs
- JsonDeserializer.cs
- ButtonFieldBase.cs
- SslStreamSecurityElement.cs
- RowToFieldTransformer.cs
- WebResponse.cs
- BitmapMetadataEnumerator.cs
- RoleProviderPrincipal.cs
- EdmComplexTypeAttribute.cs
- ACE.cs
- Debugger.cs
- ObjectStateEntryDbDataRecord.cs
- GPPOINTF.cs
- HtmlLinkAdapter.cs
- HtmlSelect.cs
- CancelEventArgs.cs
- SettingsAttributeDictionary.cs
- EdmScalarPropertyAttribute.cs
- Operator.cs
- WindowsClientCredential.cs
- MsmqChannelFactoryBase.cs
- CompoundFileStorageReference.cs
- TransformPattern.cs
- SendMessageChannelCache.cs
- SettingsPropertyValue.cs
- AuthenticatedStream.cs
- RecognizedPhrase.cs
- PlatformCulture.cs
- AutomationFocusChangedEventArgs.cs
- ConstraintConverter.cs
- SwitchLevelAttribute.cs
- RefreshInfo.cs
- XPathParser.cs
- WebPart.cs
- PointF.cs
- Int32.cs
- XsltLoader.cs
- printdlgexmarshaler.cs
- GridViewSelectEventArgs.cs
- TimeIntervalCollection.cs
- MgmtResManager.cs
- ProcessInfo.cs
- RegexCompiler.cs
- ListViewItemMouseHoverEvent.cs
- TextMarkerSource.cs
- AppSettingsExpressionBuilder.cs
- BindingExpressionUncommonField.cs
- EntityContainerAssociationSet.cs
- XmlWhitespace.cs
- ToolStripDesigner.cs
- GeneralTransform.cs
- InputLanguage.cs
- CancellationTokenSource.cs
- DefaultValueAttribute.cs
- DynamicValidatorEventArgs.cs
- ComponentChangingEvent.cs
- UMPAttributes.cs
- GuidelineSet.cs
- EventLogTraceListener.cs
- PriorityItem.cs
- SmtpTransport.cs
- DataViewManagerListItemTypeDescriptor.cs
- CompilationLock.cs
- AppDomainProtocolHandler.cs
- HostedElements.cs
- HitTestDrawingContextWalker.cs
- ClientProxyGenerator.cs
- CodeExpressionStatement.cs
- iisPickupDirectory.cs
- ServiceMetadataBehavior.cs
- TargetControlTypeAttribute.cs
- SessionViewState.cs
- BinaryWriter.cs
- SafeNativeMethodsMilCoreApi.cs
- _ShellExpression.cs
- SecurityValidationBehavior.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- DataStreamFromComStream.cs
- AspNetPartialTrustHelpers.cs
- TrustManager.cs
- EntityContainerRelationshipSet.cs
- WebPartZone.cs
- Ticks.cs
- DesignerCommandSet.cs
- AlternateViewCollection.cs
- XsdValidatingReader.cs
- PrimitiveCodeDomSerializer.cs
- ToolStripControlHost.cs
- ContextActivityUtils.cs
- TypeConverterHelper.cs
- CryptoConfig.cs
- TraceListeners.cs