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
- ListView.cs
- TreeNodeStyleCollection.cs
- BitmapEffectDrawing.cs
- HtmlPanelAdapter.cs
- HighlightComponent.cs
- ListControlDataBindingHandler.cs
- SocketConnection.cs
- FacetDescriptionElement.cs
- HostedHttpRequestAsyncResult.cs
- TreeViewImageIndexConverter.cs
- XmlTypeMapping.cs
- HitTestWithPointDrawingContextWalker.cs
- Events.cs
- DataGridViewColumnHeaderCell.cs
- DetailsViewRowCollection.cs
- ControllableStoryboardAction.cs
- SqlMethods.cs
- QuotedStringWriteStateInfo.cs
- SqlUDTStorage.cs
- TypeNameConverter.cs
- DocumentGrid.cs
- Int64.cs
- SplitContainer.cs
- XmlArrayItemAttributes.cs
- PropertyValueChangedEvent.cs
- XPathNavigatorKeyComparer.cs
- AnimatedTypeHelpers.cs
- StateDesigner.Helpers.cs
- OperationPerformanceCounters.cs
- SafeLibraryHandle.cs
- DataObjectEventArgs.cs
- MachineKeyConverter.cs
- DataGridCaption.cs
- _SpnDictionary.cs
- IndentTextWriter.cs
- PinnedBufferMemoryStream.cs
- SimpleRecyclingCache.cs
- BaseTransportHeaders.cs
- FileSystemInfo.cs
- DesignerVerb.cs
- RowVisual.cs
- HandleCollector.cs
- _ConnectionGroup.cs
- IODescriptionAttribute.cs
- XmlSchemaImport.cs
- WebPartZone.cs
- XmlSchemaSimpleContent.cs
- Label.cs
- ASCIIEncoding.cs
- Pair.cs
- OuterGlowBitmapEffect.cs
- FocusChangedEventArgs.cs
- ProxyElement.cs
- DrawingContextWalker.cs
- SqlConnectionString.cs
- BindingGroup.cs
- SystemTcpStatistics.cs
- StylusOverProperty.cs
- Registry.cs
- DragEvent.cs
- BinaryReader.cs
- ContextMenu.cs
- IconConverter.cs
- DrawingState.cs
- DesignerDataColumn.cs
- InterleavedZipPartStream.cs
- XmlValidatingReader.cs
- Nullable.cs
- AllMembershipCondition.cs
- FixUpCollection.cs
- Triplet.cs
- SqlAggregateChecker.cs
- FlagsAttribute.cs
- ResXBuildProvider.cs
- UIElementParagraph.cs
- SqlDataSourceFilteringEventArgs.cs
- EntityDataSourceDesignerHelper.cs
- MemoryFailPoint.cs
- XamlVector3DCollectionSerializer.cs
- CompressedStack.cs
- QuotedStringFormatReader.cs
- SqlGenerator.cs
- PropertyNames.cs
- EncoderParameters.cs
- _ConnectStream.cs
- DataGridViewCellConverter.cs
- xdrvalidator.cs
- OutOfMemoryException.cs
- BackgroundWorker.cs
- WSSecurityOneDotOneReceiveSecurityHeader.cs
- TextBox.cs
- ControllableStoryboardAction.cs
- SimpleWebHandlerParser.cs
- WebDisplayNameAttribute.cs
- DataControlFieldCollection.cs
- CodeGeneratorOptions.cs
- DeferredTextReference.cs
- SessionSwitchEventArgs.cs
- ThemeInfoAttribute.cs
- TagPrefixAttribute.cs