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
- DocumentXmlWriter.cs
- ParseHttpDate.cs
- IListConverters.cs
- WarningException.cs
- PerfCounters.cs
- CodeAttributeArgumentCollection.cs
- CompiledXpathExpr.cs
- DiscreteKeyFrames.cs
- figurelengthconverter.cs
- VirtualPath.cs
- AtomParser.cs
- LicenseManager.cs
- RemoteWebConfigurationHostStream.cs
- MemoryRecordBuffer.cs
- ChannelDispatcher.cs
- EntityDataSource.cs
- ThreadStartException.cs
- SpellerStatusTable.cs
- DebugManager.cs
- XmlElementAttribute.cs
- AutomationTextAttribute.cs
- RegistryConfigurationProvider.cs
- Authorization.cs
- StoreAnnotationsMap.cs
- MimeTextImporter.cs
- Psha1DerivedKeyGenerator.cs
- DesignerForm.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- PropertyInfoSet.cs
- SqlServices.cs
- JsonXmlDataContract.cs
- RandomNumberGenerator.cs
- PromptBuilder.cs
- BoundColumn.cs
- TextTreeTextBlock.cs
- FigureParagraph.cs
- MetaData.cs
- CachedBitmap.cs
- MimeParameters.cs
- BevelBitmapEffect.cs
- WebPartTransformer.cs
- CdpEqualityComparer.cs
- Button.cs
- MenuCommand.cs
- CodeBinaryOperatorExpression.cs
- ProcessHostServerConfig.cs
- CodeSubDirectoriesCollection.cs
- HostingEnvironment.cs
- PaperSize.cs
- HtmlSelect.cs
- ListItem.cs
- X509AsymmetricSecurityKey.cs
- BamlTreeUpdater.cs
- TrustManagerMoreInformation.cs
- Visual3D.cs
- PropertyDescriptor.cs
- DataGridTextColumn.cs
- PolyLineSegmentFigureLogic.cs
- ChtmlCommandAdapter.cs
- MimeBasePart.cs
- SqlConnectionHelper.cs
- FormViewUpdatedEventArgs.cs
- TypefaceMap.cs
- MethodExpr.cs
- MailWebEventProvider.cs
- PaintValueEventArgs.cs
- DecimalConverter.cs
- EntitySqlException.cs
- DataTableMappingCollection.cs
- WmlMobileTextWriter.cs
- ValidationEventArgs.cs
- SqlConnectionString.cs
- FileUtil.cs
- RegistryExceptionHelper.cs
- CookielessData.cs
- DbDataReader.cs
- SamlSerializer.cs
- LateBoundBitmapDecoder.cs
- TextModifier.cs
- ConversionContext.cs
- CannotUnloadAppDomainException.cs
- NgenServicingAttributes.cs
- Overlapped.cs
- VersionedStreamOwner.cs
- XmlNamespaceMappingCollection.cs
- GridViewUpdatedEventArgs.cs
- IdnMapping.cs
- EncryptedKey.cs
- HScrollBar.cs
- DrawingContextDrawingContextWalker.cs
- ExceptionValidationRule.cs
- TracedNativeMethods.cs
- RtfToXamlReader.cs
- AssemblyResolver.cs
- QueuedDeliveryRequirementsMode.cs
- ColorComboBox.cs
- WorkflowViewElement.cs
- DataStreams.cs
- iisPickupDirectory.cs
- HtmlSelect.cs