Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / 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
- SystemFonts.cs
- OrderedDictionaryStateHelper.cs
- InvalidProgramException.cs
- ZoneLinkButton.cs
- BitmapSourceSafeMILHandle.cs
- DataGridViewCellFormattingEventArgs.cs
- TextBox.cs
- SqlReorderer.cs
- MenuItemBinding.cs
- LinqDataSource.cs
- validationstate.cs
- MemoryPressure.cs
- ImageField.cs
- PrimitiveOperationFormatter.cs
- Preprocessor.cs
- NavigatorInput.cs
- CustomErrorsSectionWrapper.cs
- DataView.cs
- DocumentOrderQuery.cs
- InstanceCompleteException.cs
- EdmScalarPropertyAttribute.cs
- InProcStateClientManager.cs
- ServerValidateEventArgs.cs
- DataGridViewAddColumnDialog.cs
- ScrollBar.cs
- versioninfo.cs
- InkPresenterAutomationPeer.cs
- PersonalizablePropertyEntry.cs
- TransformedBitmap.cs
- EventHandlerList.cs
- TextRunCacheImp.cs
- BoundColumn.cs
- XmlAnyElementAttribute.cs
- ChangePassword.cs
- FrameworkTemplate.cs
- FaultHandlingFilter.cs
- TextEditorSpelling.cs
- SystemFonts.cs
- SiteIdentityPermission.cs
- EditingCoordinator.cs
- Repeater.cs
- ImplicitInputBrush.cs
- ConnectorDragDropGlyph.cs
- TypeDescriptionProvider.cs
- MenuCommands.cs
- CompatibleComparer.cs
- AccessedThroughPropertyAttribute.cs
- NetworkAddressChange.cs
- ConfigXmlText.cs
- Lazy.cs
- PrintDialogException.cs
- WebSysDefaultValueAttribute.cs
- IssuedSecurityTokenProvider.cs
- Registration.cs
- isolationinterop.cs
- Help.cs
- NetWebProxyFinder.cs
- DataGridViewLayoutData.cs
- XamlPathDataSerializer.cs
- ElementInit.cs
- FrameSecurityDescriptor.cs
- NullableLongAverageAggregationOperator.cs
- ChtmlCommandAdapter.cs
- PropertyGroupDescription.cs
- ErrorTolerantObjectWriter.cs
- ContentPresenter.cs
- TableCellAutomationPeer.cs
- ExpandSegmentCollection.cs
- OutputCacheSettingsSection.cs
- CatalogPart.cs
- ZoneMembershipCondition.cs
- ApplicationServicesHostFactory.cs
- BulletChrome.cs
- PackUriHelper.cs
- GroupBox.cs
- SmiConnection.cs
- InstalledFontCollection.cs
- SystemWebExtensionsSectionGroup.cs
- ContainerTracking.cs
- OracleFactory.cs
- MasterPageBuildProvider.cs
- Imaging.cs
- NativeMethods.cs
- PerformanceCounterPermissionEntry.cs
- MetadataItemCollectionFactory.cs
- MimeMultiPart.cs
- WebException.cs
- PreviewPageInfo.cs
- ApplicationServiceManager.cs
- QueryPageSettingsEventArgs.cs
- DispatchChannelSink.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- ErrorHandler.cs
- ListenerElementsCollection.cs
- TableCellAutomationPeer.cs
- CustomCategoryAttribute.cs
- PathGradientBrush.cs
- TextStore.cs
- PauseStoryboard.cs
- SchemaImporter.cs