Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Sys / System / Configuration / ConfigXmlSignificantWhitespace.cs / 1 / ConfigXmlSignificantWhitespace.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 ConfigXmlSignificantWhitespace : XmlSignificantWhitespace, IConfigErrorInfo { public ConfigXmlSignificantWhitespace(string filename, int line, string strData, XmlDocument doc) : base(strData, 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); ConfigXmlSignificantWhitespace clone = cloneNode as ConfigXmlSignificantWhitespace; 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 ConfigXmlSignificantWhitespace : XmlSignificantWhitespace, IConfigErrorInfo { public ConfigXmlSignificantWhitespace(string filename, int line, string strData, XmlDocument doc) : base(strData, 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); ConfigXmlSignificantWhitespace clone = cloneNode as ConfigXmlSignificantWhitespace; 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
- AttachedPropertyBrowsableForChildrenAttribute.cs
- UnlockInstanceCommand.cs
- Timer.cs
- DataServiceContext.cs
- DeferredReference.cs
- Baml2006ReaderFrame.cs
- CheckBoxBaseAdapter.cs
- DataStreamFromComStream.cs
- FormatterServices.cs
- Registration.cs
- Persist.cs
- DecoderFallback.cs
- SplitterCancelEvent.cs
- TdsParserSafeHandles.cs
- __ComObject.cs
- FloaterParaClient.cs
- XmlJsonWriter.cs
- EventDescriptorCollection.cs
- BatchStream.cs
- FlowDocumentPageViewerAutomationPeer.cs
- SafeViewOfFileHandle.cs
- InputGestureCollection.cs
- ByteBufferPool.cs
- UpdateProgress.cs
- PartialArray.cs
- Stylesheet.cs
- RangeBase.cs
- TextRenderer.cs
- MetadataFile.cs
- RectangleGeometry.cs
- EventWaitHandle.cs
- JsonEnumDataContract.cs
- DriveNotFoundException.cs
- SamlDoNotCacheCondition.cs
- ExpressionBindings.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- SqlDataSourceAdvancedOptionsForm.cs
- KeyManager.cs
- ObjectConverter.cs
- TypedTableGenerator.cs
- QilTargetType.cs
- ContentValidator.cs
- InheritablePropertyChangeInfo.cs
- LockCookie.cs
- WebBrowserBase.cs
- StreamGeometry.cs
- PropertyDescriptorComparer.cs
- DBConcurrencyException.cs
- ConnectionConsumerAttribute.cs
- DataGridColumnHeaderCollection.cs
- DataServiceRequest.cs
- CodeCommentStatementCollection.cs
- DbException.cs
- ListViewTableCell.cs
- Light.cs
- ComAwareEventInfo.cs
- PageThemeBuildProvider.cs
- XsdDuration.cs
- TypeSystemHelpers.cs
- CodeDomConfigurationHandler.cs
- PropertyDescriptorCollection.cs
- WebSysDescriptionAttribute.cs
- DataProviderNameConverter.cs
- FaultPropagationQuery.cs
- OleDbWrapper.cs
- HandleScope.cs
- TypeSystem.cs
- EmbossBitmapEffect.cs
- SourceCollection.cs
- ControlPropertyNameConverter.cs
- XmlUtf8RawTextWriter.cs
- Queue.cs
- BulletedListEventArgs.cs
- RequestUriProcessor.cs
- StorageTypeMapping.cs
- UrlMappingsSection.cs
- TypeSystem.cs
- DeferredSelectedIndexReference.cs
- SqlTransaction.cs
- HttpListenerResponse.cs
- BuildManager.cs
- DataError.cs
- EnumerableRowCollectionExtensions.cs
- PipeConnection.cs
- StringAnimationUsingKeyFrames.cs
- TemplateField.cs
- RowParagraph.cs
- DefaultAsyncDataDispatcher.cs
- AsyncContentLoadedEventArgs.cs
- HighContrastHelper.cs
- InheritablePropertyChangeInfo.cs
- IndicShape.cs
- SecurityTokenValidationException.cs
- ProgressChangedEventArgs.cs
- TypeUtils.cs
- DownloadProgressEventArgs.cs
- XmlSchemaObjectCollection.cs
- CultureMapper.cs
- SemaphoreSecurity.cs
- CategoryNameCollection.cs