Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SymDocumentType.cs
- InvalidCastException.cs
- UIElementParagraph.cs
- GenericAuthenticationEventArgs.cs
- FormViewPageEventArgs.cs
- TablePattern.cs
- ThicknessAnimation.cs
- Base64Encoding.cs
- CompatibleIComparer.cs
- ComMethodElementCollection.cs
- StrokeNodeOperations2.cs
- TypefaceMetricsCache.cs
- StopStoryboard.cs
- AsymmetricSignatureDeformatter.cs
- IPEndPoint.cs
- UInt16.cs
- TextMessageEncodingElement.cs
- ProxyWebPartManager.cs
- FormsAuthentication.cs
- TimeSpanHelper.cs
- CodeStatement.cs
- ImportCatalogPart.cs
- ReferencedType.cs
- FlowDocumentFormatter.cs
- GeneralTransform3DCollection.cs
- SqlClientWrapperSmiStreamChars.cs
- ButtonPopupAdapter.cs
- objectresult_tresulttype.cs
- BatchServiceHost.cs
- TreeViewItem.cs
- SimpleRecyclingCache.cs
- ComponentCollection.cs
- MetadataCollection.cs
- HttpProcessUtility.cs
- ExpressionList.cs
- ListenerPerfCounters.cs
- ProofTokenCryptoHandle.cs
- UdpTransportBindingElement.cs
- UInt16Storage.cs
- DefaultParameterValueAttribute.cs
- PolyBezierSegment.cs
- PropagatorResult.cs
- ProfessionalColors.cs
- ListViewCommandEventArgs.cs
- SerialReceived.cs
- MultilineStringConverter.cs
- HttpPostProtocolReflector.cs
- AnnotationHelper.cs
- ConnectionPointGlyph.cs
- HashRepartitionStream.cs
- XmlNodeChangedEventArgs.cs
- COM2ComponentEditor.cs
- NativeMethods.cs
- TextServicesProperty.cs
- ChangeProcessor.cs
- XmlSchemaIdentityConstraint.cs
- Transform3DGroup.cs
- SynchronizationContext.cs
- Schema.cs
- JsonXmlDataContract.cs
- SmtpNegotiateAuthenticationModule.cs
- TypeLoadException.cs
- SmiConnection.cs
- DatasetMethodGenerator.cs
- SQLSingleStorage.cs
- InstanceDescriptor.cs
- Attributes.cs
- InternalException.cs
- ListBoxItemAutomationPeer.cs
- Marshal.cs
- Privilege.cs
- XmlSchemaGroupRef.cs
- LocalizableAttribute.cs
- bindurihelper.cs
- XmlElementList.cs
- SessionEndingEventArgs.cs
- DnsEndpointIdentity.cs
- Span.cs
- CodeMethodInvokeExpression.cs
- SQLChars.cs
- GlyphCache.cs
- ControlSerializer.cs
- HtmlInputCheckBox.cs
- WindowsEditBoxRange.cs
- GraphicsPathIterator.cs
- RoleService.cs
- TextTreeObjectNode.cs
- DebuggerAttributes.cs
- WebPartHelpVerb.cs
- ProfileEventArgs.cs
- TextTreeExtractElementUndoUnit.cs
- PropertyValueChangedEvent.cs
- HttpServerVarsCollection.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- InternalPolicyElement.cs
- SqlInternalConnectionTds.cs
- VectorAnimationBase.cs
- ImageAutomationPeer.cs
- StructuredType.cs
- DbConnectionStringBuilder.cs