Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Sys / System / Configuration / ConfigXmlText.cs / 1 / ConfigXmlText.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 ConfigXmlText : XmlText, IConfigErrorInfo { int _line; string _filename; public ConfigXmlText( string filename, int line, string strData, XmlDocument doc ) : base( strData, doc ) { _line = line; _filename = filename; } int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlText clone = cloneNode as ConfigXmlText; 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 ConfigXmlText : XmlText, IConfigErrorInfo { int _line; string _filename; public ConfigXmlText( string filename, int line, string strData, XmlDocument doc ) : base( strData, doc ) { _line = line; _filename = filename; } int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlText clone = cloneNode as ConfigXmlText; 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
- FtpRequestCacheValidator.cs
- CheckBoxDesigner.cs
- InputLangChangeEvent.cs
- PartitionResolver.cs
- JapaneseCalendar.cs
- XmlWrappingReader.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- XmlReaderSettings.cs
- CompositeFontInfo.cs
- SpnEndpointIdentityExtension.cs
- SiteMapProvider.cs
- OrCondition.cs
- QueryOptionExpression.cs
- AspNetSynchronizationContext.cs
- ComponentResourceKeyConverter.cs
- DataRecordObjectView.cs
- SqlWriter.cs
- XmlUtf8RawTextWriter.cs
- DataGridGeneralPage.cs
- Logging.cs
- InputReportEventArgs.cs
- RemotingSurrogateSelector.cs
- LocalizableAttribute.cs
- IdentifierCollection.cs
- XmlBoundElement.cs
- IteratorDescriptor.cs
- NonVisualControlAttribute.cs
- baseaxisquery.cs
- SplayTreeNode.cs
- TiffBitmapEncoder.cs
- ContentIterators.cs
- AngleUtil.cs
- BrowserCapabilitiesCompiler.cs
- MetadataItemEmitter.cs
- SqlBuffer.cs
- sqlstateclientmanager.cs
- ManagedFilter.cs
- ObjectDataSourceDisposingEventArgs.cs
- PaginationProgressEventArgs.cs
- RectangleHotSpot.cs
- TargetControlTypeCache.cs
- XmlSchemaObjectCollection.cs
- EdmToObjectNamespaceMap.cs
- ExpressionList.cs
- WebPartAuthorizationEventArgs.cs
- SqlComparer.cs
- CodeMethodReturnStatement.cs
- TextBlockAutomationPeer.cs
- ConnectionStringsExpressionBuilder.cs
- StateFinalizationActivity.cs
- FullTrustAssemblyCollection.cs
- WhitespaceRuleReader.cs
- DocumentViewer.cs
- TreeNodeConverter.cs
- TextModifierScope.cs
- InfiniteTimeSpanConverter.cs
- ChannelListenerBase.cs
- PriorityRange.cs
- StorageFunctionMapping.cs
- UnsafeNativeMethodsPenimc.cs
- HMACRIPEMD160.cs
- SourceCollection.cs
- sqlser.cs
- SerialPort.cs
- PackageDigitalSignatureManager.cs
- SynchronizedDispatch.cs
- EntityUtil.cs
- SiteMapPathDesigner.cs
- Completion.cs
- AlphabetConverter.cs
- TreeIterators.cs
- EventLogException.cs
- PropertyTabAttribute.cs
- SystemDiagnosticsSection.cs
- IUnknownConstantAttribute.cs
- RoutingExtension.cs
- Camera.cs
- DataError.cs
- SqlRetyper.cs
- TextOnlyOutput.cs
- SpinWait.cs
- Wildcard.cs
- MessageQueueConverter.cs
- _OverlappedAsyncResult.cs
- RijndaelManaged.cs
- DataGridPageChangedEventArgs.cs
- TableLayoutStyle.cs
- HtmlWindowCollection.cs
- TrackBar.cs
- WebPartHelpVerb.cs
- XmlSchemaSequence.cs
- RoutedPropertyChangedEventArgs.cs
- SqlUserDefinedTypeAttribute.cs
- ListViewItem.cs
- SimpleHandlerBuildProvider.cs
- DocumentsTrace.cs
- ContainerVisual.cs
- IntPtr.cs
- QilTernary.cs
- CodeCastExpression.cs