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
- ICspAsymmetricAlgorithm.cs
- MouseGesture.cs
- Control.cs
- UserControlCodeDomTreeGenerator.cs
- ConvertersCollection.cs
- ObjectDataSourceSelectingEventArgs.cs
- XmlNodeChangedEventManager.cs
- StructuredTypeEmitter.cs
- PropertyGridEditorPart.cs
- XmlComment.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- DataView.cs
- CompositeControl.cs
- XmlParserContext.cs
- MouseBinding.cs
- ProfileModule.cs
- EraserBehavior.cs
- UnsafeNativeMethods.cs
- Pen.cs
- AttributeCallbackBuilder.cs
- VectorAnimation.cs
- BufferedGraphicsContext.cs
- ApplicationTrust.cs
- Intellisense.cs
- MarshalByValueComponent.cs
- RoutedCommand.cs
- TextTreeTextNode.cs
- XmlSerializer.cs
- ScriptingRoleServiceSection.cs
- PrintPageEvent.cs
- CultureInfo.cs
- ThreadStateException.cs
- ExeContext.cs
- TraversalRequest.cs
- LogRecordSequence.cs
- PageStatePersister.cs
- Roles.cs
- XmlIgnoreAttribute.cs
- SystemIcmpV4Statistics.cs
- Interlocked.cs
- GridEntry.cs
- RuleInfoComparer.cs
- RenderingBiasValidation.cs
- GroupQuery.cs
- AssemblyAssociatedContentFileAttribute.cs
- TypeToken.cs
- LinqDataSourceDeleteEventArgs.cs
- SoundPlayer.cs
- TextWriterTraceListener.cs
- WebServiceParameterData.cs
- EditableRegion.cs
- HandledMouseEvent.cs
- NullableDoubleSumAggregationOperator.cs
- IListConverters.cs
- AttributeEmitter.cs
- BaseResourcesBuildProvider.cs
- _FtpControlStream.cs
- Visitors.cs
- BezierSegment.cs
- MembershipValidatePasswordEventArgs.cs
- XslNumber.cs
- Win32MouseDevice.cs
- StructuredTypeEmitter.cs
- RepeatBehaviorConverter.cs
- PolicyLevel.cs
- Operand.cs
- SharedStream.cs
- TraceUtils.cs
- InvalidCommandTreeException.cs
- Typeface.cs
- Debug.cs
- DataGridPageChangedEventArgs.cs
- MachineKey.cs
- Simplifier.cs
- ScrollBarRenderer.cs
- StringInfo.cs
- ScriptingAuthenticationServiceSection.cs
- TypedOperationInfo.cs
- Label.cs
- PropertyMappingExceptionEventArgs.cs
- NonSerializedAttribute.cs
- oledbmetadatacolumnnames.cs
- DocumentGrid.cs
- StringValidatorAttribute.cs
- PageThemeCodeDomTreeGenerator.cs
- UnsafeNativeMethods.cs
- CacheDependency.cs
- TypeExtensionSerializer.cs
- GroupByExpressionRewriter.cs
- UnsafeNativeMethods.cs
- NegotiationTokenProvider.cs
- SyndicationDeserializer.cs
- SQLInt16.cs
- TextServicesHost.cs
- GradientStopCollection.cs
- FixedTextView.cs
- ObjectQueryState.cs
- DeclarativeCatalogPart.cs
- SessionStateSection.cs
- FusionWrap.cs