Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlText.cs / 1305376 / 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
- SystemTcpConnection.cs
- SQLRoleProvider.cs
- AliasedSlot.cs
- PropertyEmitterBase.cs
- ClientSideQueueItem.cs
- CommittableTransaction.cs
- Sql8ExpressionRewriter.cs
- ProtocolsSection.cs
- TrackingProvider.cs
- WindowsGrip.cs
- BooleanAnimationBase.cs
- PagesSection.cs
- GraphicsPathIterator.cs
- EntityDataSourceState.cs
- TreeNode.cs
- ContentType.cs
- XmlTextReaderImpl.cs
- AVElementHelper.cs
- CaseInsensitiveComparer.cs
- TypeContext.cs
- XmlCharType.cs
- MultiDataTrigger.cs
- TableColumn.cs
- SessionSwitchEventArgs.cs
- SiteMembershipCondition.cs
- ListViewSelectEventArgs.cs
- XamlRtfConverter.cs
- CompoundFileStreamReference.cs
- ThreadStartException.cs
- TraceContext.cs
- BinaryObjectInfo.cs
- TextServicesContext.cs
- XPathDocumentIterator.cs
- XmlDataSource.cs
- AvTrace.cs
- ToolStripRenderEventArgs.cs
- FormViewDeletedEventArgs.cs
- XmlWriter.cs
- RowType.cs
- CommandConverter.cs
- ReadOnlyHierarchicalDataSourceView.cs
- WebPartMenu.cs
- ParallelTimeline.cs
- IdentifierCollection.cs
- DispatcherHooks.cs
- RtfNavigator.cs
- PropertyGeneratedEventArgs.cs
- ReadWriteObjectLock.cs
- HttpInputStream.cs
- FactoryMaker.cs
- LayoutInformation.cs
- PtsHelper.cs
- StackSpiller.Temps.cs
- XmlSignificantWhitespace.cs
- BezierSegment.cs
- XamlFilter.cs
- OdbcConnectionPoolProviderInfo.cs
- DoubleLinkListEnumerator.cs
- ObjectHandle.cs
- TypeExtensionSerializer.cs
- baseaxisquery.cs
- AuthenticationManager.cs
- ListControlActionList.cs
- FieldBuilder.cs
- StylusPlugin.cs
- DbCommandDefinition.cs
- DisplayMemberTemplateSelector.cs
- PolyBezierSegment.cs
- KeyNotFoundException.cs
- StrokeCollectionConverter.cs
- MsmqException.cs
- MouseBinding.cs
- TypeDependencyAttribute.cs
- WinEventQueueItem.cs
- CodeDOMProvider.cs
- basevalidator.cs
- Enum.cs
- HttpModuleActionCollection.cs
- BlurBitmapEffect.cs
- ListComponentEditor.cs
- XmlObjectSerializerWriteContext.cs
- TemplateControlParser.cs
- InputLanguage.cs
- PartitionResolver.cs
- Clause.cs
- PublisherIdentityPermission.cs
- DesignTimeVisibleAttribute.cs
- Facet.cs
- wgx_commands.cs
- GridViewAutomationPeer.cs
- UpdateProgress.cs
- DesignerActionPanel.cs
- WorkflowApplicationTerminatedException.cs
- AppDomainFactory.cs
- StringResourceManager.cs
- ContentIterators.cs
- CommandEventArgs.cs
- smtppermission.cs
- DataColumn.cs
- MessagePartDescription.cs