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
- ClientTargetSection.cs
- WebFaultClientMessageInspector.cs
- Compiler.cs
- TableCellAutomationPeer.cs
- TextBounds.cs
- WsdlImporter.cs
- BaseParagraph.cs
- PassportPrincipal.cs
- TextElement.cs
- DockingAttribute.cs
- RangeBase.cs
- MarkerProperties.cs
- SQLDateTime.cs
- ContentElement.cs
- HashCryptoHandle.cs
- DocumentEventArgs.cs
- SmtpClient.cs
- ExtractorMetadata.cs
- EncodingDataItem.cs
- Light.cs
- TextTreePropertyUndoUnit.cs
- ResponseStream.cs
- DateTimeEditor.cs
- OdbcFactory.cs
- SymbolMethod.cs
- SecurityUniqueId.cs
- PageResolution.cs
- ByteKeyFrameCollection.cs
- HttpClientCertificate.cs
- XPathNode.cs
- InputLanguageSource.cs
- WpfKnownTypeInvoker.cs
- VersionPair.cs
- DataComponentNameHandler.cs
- DataSourceNameHandler.cs
- BuildDependencySet.cs
- SchemaType.cs
- HitTestWithPointDrawingContextWalker.cs
- StorageModelBuildProvider.cs
- InstalledFontCollection.cs
- ObjectDataSourceStatusEventArgs.cs
- ProxyHelper.cs
- ChangeProcessor.cs
- SqlProviderServices.cs
- GridViewHeaderRowPresenter.cs
- StructuralObject.cs
- PointAnimationUsingKeyFrames.cs
- XmlILIndex.cs
- SafeLocalMemHandle.cs
- PerformanceCounterLib.cs
- ModuleBuilderData.cs
- RuntimeConfig.cs
- RuntimeConfigLKG.cs
- SqlClientWrapperSmiStream.cs
- TriggerBase.cs
- VerificationAttribute.cs
- SystemTcpConnection.cs
- validationstate.cs
- InputScopeAttribute.cs
- ReachDocumentSequenceSerializerAsync.cs
- PhysicalFontFamily.cs
- SystemKeyConverter.cs
- DataComponentGenerator.cs
- ObjectStateManagerMetadata.cs
- CqlParserHelpers.cs
- SafeMILHandle.cs
- WorkflowOperationErrorHandler.cs
- FrameworkTextComposition.cs
- EventItfInfo.cs
- SmtpNegotiateAuthenticationModule.cs
- RSAOAEPKeyExchangeFormatter.cs
- CodeSnippetTypeMember.cs
- OptimalBreakSession.cs
- LocatorManager.cs
- Query.cs
- TransactionScopeDesigner.cs
- WindowsImpersonationContext.cs
- Stroke.cs
- TickBar.cs
- AssemblyHash.cs
- WindowsAltTab.cs
- Peer.cs
- CodeDOMProvider.cs
- EventLogger.cs
- EllipticalNodeOperations.cs
- SafeTimerHandle.cs
- PersonalizationProvider.cs
- ControlParameter.cs
- BooleanExpr.cs
- LoopExpression.cs
- InvokeGenerator.cs
- DataRowChangeEvent.cs
- XamlFigureLengthSerializer.cs
- MsmqReceiveParameters.cs
- DataExchangeServiceBinder.cs
- NetworkInformationPermission.cs
- MediaSystem.cs
- DisplayToken.cs
- CompilerCollection.cs
- SurrogateChar.cs