Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- PersonalizationStateInfoCollection.cs
- FormClosingEvent.cs
- CodePageEncoding.cs
- WebMessageEncoderFactory.cs
- RepeatButton.cs
- WindowsStatic.cs
- KoreanCalendar.cs
- WebZone.cs
- EdmItemError.cs
- ValidationHelper.cs
- XLinq.cs
- MetafileHeader.cs
- GridEntry.cs
- TypeListConverter.cs
- Pair.cs
- VectorAnimation.cs
- Configuration.cs
- BrowserCapabilitiesCompiler.cs
- ImageCodecInfo.cs
- UInt32.cs
- COM2TypeInfoProcessor.cs
- DataObjectFieldAttribute.cs
- XmlSerializationWriter.cs
- DiscoveryServerProtocol.cs
- HtmlContainerControl.cs
- __ConsoleStream.cs
- TypeBuilderInstantiation.cs
- SafeNativeMethodsOther.cs
- StickyNote.cs
- ByteRangeDownloader.cs
- HttpHandlerActionCollection.cs
- SelectionManager.cs
- WindowsSolidBrush.cs
- FrameworkContentElementAutomationPeer.cs
- BrushValueSerializer.cs
- MetaDataInfo.cs
- Config.cs
- DBCommandBuilder.cs
- PointConverter.cs
- DBDataPermission.cs
- ButtonChrome.cs
- Char.cs
- XPathDocumentIterator.cs
- HashHelper.cs
- LocatorManager.cs
- DataViewManagerListItemTypeDescriptor.cs
- XhtmlConformanceSection.cs
- COM2FontConverter.cs
- GPPOINTF.cs
- StateDesigner.LayoutSelectionGlyph.cs
- EpmContentDeSerializer.cs
- SqlNotificationEventArgs.cs
- DataGridViewComboBoxCell.cs
- ConfigWriter.cs
- PasswordPropertyTextAttribute.cs
- HtmlMeta.cs
- MethodBuilderInstantiation.cs
- ReferenceConverter.cs
- ConfigurationProperty.cs
- WebConvert.cs
- DataServiceKeyAttribute.cs
- TypeConverterHelper.cs
- ColumnWidthChangedEvent.cs
- DocumentPage.cs
- UTF32Encoding.cs
- XmlSchemaComplexContentRestriction.cs
- IODescriptionAttribute.cs
- BitmapSource.cs
- DesignerAutoFormat.cs
- NavigateEvent.cs
- BitmapEffect.cs
- ViewgenGatekeeper.cs
- WindowsContainer.cs
- Thumb.cs
- EdmComplexPropertyAttribute.cs
- EntityModelSchemaGenerator.cs
- DataGridViewCellFormattingEventArgs.cs
- QueryOptionExpression.cs
- EntityStoreSchemaGenerator.cs
- ModelProperty.cs
- BinaryFormatter.cs
- CollectionExtensions.cs
- StartUpEventArgs.cs
- XsltException.cs
- EntityViewGenerator.cs
- LinearGradientBrush.cs
- TextParagraphCache.cs
- DataKey.cs
- WebHeaderCollection.cs
- XmlElementList.cs
- AttributeProviderAttribute.cs
- DiscoveryDocumentReference.cs
- ClientSettingsProvider.cs
- BufferModesCollection.cs
- TagMapCollection.cs
- JsonDataContract.cs
- WebCategoryAttribute.cs
- RealizationDrawingContextWalker.cs
- TextBox.cs
- SafeBitVector32.cs