Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / System / Configuration / ConfigXmlWhitespace.cs / 1 / ConfigXmlWhitespace.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Configuration.Internal; using System.IO; using System.Xml; using System.Security.Permissions; internal sealed class ConfigXmlWhitespace : XmlWhitespace, IConfigErrorInfo { public ConfigXmlWhitespace( string filename, int line, string comment, XmlDocument doc ) : base( comment, doc ) { _line = line; _filename = filename; } int _line; string _filename; int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlWhitespace clone = cloneNode as ConfigXmlWhitespace; if (clone != null) { clone._line = _line; clone._filename = _filename; } return cloneNode; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Configuration.Internal; using System.IO; using System.Xml; using System.Security.Permissions; internal sealed class ConfigXmlWhitespace : XmlWhitespace, IConfigErrorInfo { public ConfigXmlWhitespace( string filename, int line, string comment, XmlDocument doc ) : base( comment, doc ) { _line = line; _filename = filename; } int _line; string _filename; int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlWhitespace clone = cloneNode as ConfigXmlWhitespace; if (clone != null) { clone._line = _line; clone._filename = _filename; } return cloneNode; } } } // 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
- CacheChildrenQuery.cs
- altserialization.cs
- ModuleElement.cs
- DataObjectFieldAttribute.cs
- NonDualMessageSecurityOverHttp.cs
- HotSpotCollection.cs
- CodeTypeParameterCollection.cs
- RtfToXamlLexer.cs
- HtmlImage.cs
- GeneralTransformCollection.cs
- MembershipValidatePasswordEventArgs.cs
- CalloutQueueItem.cs
- StorageComplexPropertyMapping.cs
- ProfileService.cs
- OperandQuery.cs
- Track.cs
- TableHeaderCell.cs
- StorageInfo.cs
- CanonicalFormWriter.cs
- SqlStatistics.cs
- TextServicesCompartment.cs
- MimeReflector.cs
- XmlException.cs
- ValueChangedEventManager.cs
- PathNode.cs
- Nodes.cs
- PinnedBufferMemoryStream.cs
- XmlTextEncoder.cs
- SimpleFieldTemplateUserControl.cs
- ResourceContainer.cs
- RadioButton.cs
- XmlQueryContext.cs
- StringPropertyBuilder.cs
- BmpBitmapDecoder.cs
- ExpressionCopier.cs
- CodeNamespace.cs
- DataColumnPropertyDescriptor.cs
- BufferedGraphics.cs
- ListControl.cs
- RouteItem.cs
- EndpointDesigner.cs
- Setter.cs
- FileUpload.cs
- DecimalKeyFrameCollection.cs
- DefaultParameterValueAttribute.cs
- NetCodeGroup.cs
- BidirectionalDictionary.cs
- OpCopier.cs
- ExpressionValueEditor.cs
- InputDevice.cs
- BinaryObjectInfo.cs
- EntityKey.cs
- FilterRepeater.cs
- SeparatorAutomationPeer.cs
- CachedTypeface.cs
- HttpException.cs
- WindowsStreamSecurityBindingElement.cs
- MissingSatelliteAssemblyException.cs
- _SslSessionsCache.cs
- BitmapScalingModeValidation.cs
- IdentityReference.cs
- HelpEvent.cs
- BaseAutoFormat.cs
- ExpressionVisitor.cs
- ImageDrawing.cs
- PerformanceCounterPermissionAttribute.cs
- HttpListener.cs
- CrossSiteScriptingValidation.cs
- ResXResourceReader.cs
- ContentIterators.cs
- DataGridViewLinkColumn.cs
- ActivityMarkupSerializationProvider.cs
- BaseValidator.cs
- QueueProcessor.cs
- Part.cs
- RijndaelManagedTransform.cs
- LinqDataView.cs
- Camera.cs
- StringDictionary.cs
- BehaviorService.cs
- WebPartManager.cs
- RadioButtonPopupAdapter.cs
- cryptoapiTransform.cs
- AnnotationResource.cs
- UInt16.cs
- NavigationService.cs
- Vector3DCollectionValueSerializer.cs
- SupportsEventValidationAttribute.cs
- ProvideValueServiceProvider.cs
- HostedHttpTransportManager.cs
- ProxyGenerator.cs
- UDPClient.cs
- XhtmlBasicListAdapter.cs
- AnnotationAuthorChangedEventArgs.cs
- TableCellsCollectionEditor.cs
- IApplicationTrustManager.cs
- HttpServerUtilityWrapper.cs
- Random.cs
- ImageAutomationPeer.cs
- InternalBufferOverflowException.cs