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
- GetCardDetailsRequest.cs
- URI.cs
- XmlSigningNodeWriter.cs
- RecordBuilder.cs
- AutoSizeComboBox.cs
- SiteMap.cs
- PassportPrincipal.cs
- XPathMultyIterator.cs
- ObsoleteAttribute.cs
- StructuralObject.cs
- XmlProcessingInstruction.cs
- UpDownEvent.cs
- SqlUdtInfo.cs
- TriState.cs
- TransformConverter.cs
- RsaSecurityTokenParameters.cs
- CaretElement.cs
- GridViewSelectEventArgs.cs
- JournalEntryStack.cs
- DecoderFallbackWithFailureFlag.cs
- DocumentSchemaValidator.cs
- ToolStripDropDownItem.cs
- AppDomainManager.cs
- PersonalizableAttribute.cs
- SqlWorkflowInstanceStore.cs
- TextViewSelectionProcessor.cs
- MessageQueue.cs
- HttpFileCollection.cs
- XhtmlCssHandler.cs
- GC.cs
- ConfigPathUtility.cs
- SecurityTokenProvider.cs
- HttpHandlersSection.cs
- XamlInterfaces.cs
- DataGridViewColumnStateChangedEventArgs.cs
- HttpApplicationStateWrapper.cs
- TabItemAutomationPeer.cs
- XslVisitor.cs
- EventBuilder.cs
- Int64Storage.cs
- OutputCacheEntry.cs
- SessionIDManager.cs
- TreeNodeEventArgs.cs
- CodeTypeDeclaration.cs
- Visual3D.cs
- UrlEncodedParameterWriter.cs
- XmlSchema.cs
- NameSpaceExtractor.cs
- FilterQueryOptionExpression.cs
- EventToken.cs
- SpotLight.cs
- SemaphoreFullException.cs
- XmlWellformedWriterHelpers.cs
- ProcessInfo.cs
- WebPartsSection.cs
- CompressedStack.cs
- smtpconnection.cs
- LambdaCompiler.Unary.cs
- SmiXetterAccessMap.cs
- DefaultBinder.cs
- AudioBase.cs
- DockAndAnchorLayout.cs
- PackageRelationshipCollection.cs
- ElementHostAutomationPeer.cs
- XsdBuilder.cs
- EventToken.cs
- ResourcePermissionBaseEntry.cs
- TableCellAutomationPeer.cs
- ToolStrip.cs
- UdpTransportSettings.cs
- PathSegment.cs
- TransactionScopeDesigner.cs
- DBCSCodePageEncoding.cs
- ObjectFullSpanRewriter.cs
- ContextStaticAttribute.cs
- NativeMethods.cs
- HealthMonitoringSection.cs
- XmlSchemaComplexType.cs
- SubMenuStyleCollection.cs
- SchemaElementLookUpTableEnumerator.cs
- CodeExporter.cs
- DashStyles.cs
- MailWriter.cs
- StylusDownEventArgs.cs
- MissingFieldException.cs
- GlyphRunDrawing.cs
- TransformedBitmap.cs
- DiscoveryMessageProperty.cs
- HeaderedItemsControl.cs
- RuleSetBrowserDialog.cs
- Viewport3DVisual.cs
- PropertyOverridesDialog.cs
- TableCellAutomationPeer.cs
- WebPartMenu.cs
- BitmapEffectDrawingContextWalker.cs
- ZipIOCentralDirectoryFileHeader.cs
- FontStretch.cs
- RegisteredScript.cs
- ReturnType.cs
- FullTextLine.cs