Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / 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
- BigInt.cs
- SessionPageStatePersister.cs
- StreamMarshaler.cs
- CompositeActivityMarkupSerializer.cs
- WindowsListBox.cs
- ToolStripRendererSwitcher.cs
- GetFileNameResult.cs
- StatusBarDrawItemEvent.cs
- HttpRequestWrapper.cs
- recordstatefactory.cs
- OperationResponse.cs
- ISAPIApplicationHost.cs
- DiscreteKeyFrames.cs
- SuppressMergeCheckAttribute.cs
- MorphHelper.cs
- Window.cs
- wmiprovider.cs
- Pair.cs
- ChangeTracker.cs
- ExtentKey.cs
- UnSafeCharBuffer.cs
- IndexerNameAttribute.cs
- IconBitmapDecoder.cs
- XComponentModel.cs
- PauseStoryboard.cs
- VariableReference.cs
- TypeElement.cs
- MasterPage.cs
- ScalarConstant.cs
- UnionCqlBlock.cs
- FunctionImportElement.cs
- OdbcConnectionPoolProviderInfo.cs
- Fonts.cs
- MetadataImporterQuotas.cs
- DecodeHelper.cs
- ListBoxChrome.cs
- SimpleApplicationHost.cs
- RuntimeHelpers.cs
- Win32SafeHandles.cs
- IDQuery.cs
- DrawingAttributesDefaultValueFactory.cs
- _ChunkParse.cs
- XmlSchemaNotation.cs
- SqlNodeAnnotation.cs
- XsltSettings.cs
- WindowsRegion.cs
- FormsAuthenticationUser.cs
- Guid.cs
- relpropertyhelper.cs
- TreeIterator.cs
- WebPartConnectVerb.cs
- EmptyReadOnlyDictionaryInternal.cs
- Array.cs
- FlowDocumentPage.cs
- MetricEntry.cs
- PropertyEmitter.cs
- TableRowCollection.cs
- GridViewRowPresenter.cs
- MarkupExtensionParser.cs
- RotateTransform.cs
- Keyboard.cs
- FilterUserControlBase.cs
- BaseCodeDomTreeGenerator.cs
- ForeignConstraint.cs
- HiddenFieldPageStatePersister.cs
- UnionCqlBlock.cs
- RoleService.cs
- ContainerVisual.cs
- PreloadedPackages.cs
- XhtmlBasicImageAdapter.cs
- keycontainerpermission.cs
- EmitterCache.cs
- BinaryCommonClasses.cs
- LazyTextWriterCreator.cs
- NodeFunctions.cs
- ProxyHwnd.cs
- Pair.cs
- ActiveDocumentEvent.cs
- ProcessModelSection.cs
- RemotingAttributes.cs
- EntitySetBase.cs
- HtmlLink.cs
- FontFamily.cs
- ThemeInfoAttribute.cs
- Point4DValueSerializer.cs
- XPathNodePointer.cs
- FieldMetadata.cs
- PrimitiveXmlSerializers.cs
- VirtualizingStackPanel.cs
- DataTable.cs
- SByteConverter.cs
- WindowsStatic.cs
- TransportContext.cs
- EncodingDataItem.cs
- XmlILStorageConverter.cs
- MouseDevice.cs
- DataGridViewButtonCell.cs
- XmlSchemaAnnotation.cs
- HandleCollector.cs
- DataBindingExpressionBuilder.cs