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
- ExportOptions.cs
- WindowsFormsSectionHandler.cs
- MatchAllMessageFilter.cs
- BoolExpression.cs
- EntityKey.cs
- MatchAttribute.cs
- URLIdentityPermission.cs
- UnsafeNativeMethods.cs
- VideoDrawing.cs
- Inflater.cs
- FormClosedEvent.cs
- GridSplitterAutomationPeer.cs
- AspNetHostingPermission.cs
- WebPartMenu.cs
- ServiceHttpModule.cs
- DocumentOrderQuery.cs
- TypeDescriptionProvider.cs
- RootCodeDomSerializer.cs
- ScrollBarRenderer.cs
- CommandPlan.cs
- HyperLinkColumn.cs
- JavaScriptString.cs
- EmissiveMaterial.cs
- XmlElementAttribute.cs
- MdImport.cs
- HostingEnvironmentException.cs
- CompositeActivityCodeGenerator.cs
- AttributeAction.cs
- CacheManager.cs
- GridView.cs
- SelectorAutomationPeer.cs
- WorkflowServiceInstance.cs
- ErrorTolerantObjectWriter.cs
- CatalogZone.cs
- ContainerParagraph.cs
- LoadRetryStrategyFactory.cs
- RijndaelManaged.cs
- HtmlWindow.cs
- AsymmetricAlgorithm.cs
- SettingsBindableAttribute.cs
- RegexCode.cs
- FtpWebRequest.cs
- PropertyEmitterBase.cs
- TypeSystemHelpers.cs
- RangeExpression.cs
- ListViewDesigner.cs
- WSTrustDec2005.cs
- WsatAdminException.cs
- RectKeyFrameCollection.cs
- SelectedDatesCollection.cs
- RegexCompilationInfo.cs
- recordstate.cs
- SrgsToken.cs
- XmlSerializerFactory.cs
- StorageTypeMapping.cs
- PrintPreviewGraphics.cs
- TaskResultSetter.cs
- SchemaTableColumn.cs
- SafeLocalAllocation.cs
- SqlRetyper.cs
- PrintDocument.cs
- ViewStateModeByIdAttribute.cs
- ConnectionsZone.cs
- EncryptedData.cs
- WindowsIPAddress.cs
- IPAddress.cs
- RelationshipSet.cs
- PipelineModuleStepContainer.cs
- BookmarkScopeManager.cs
- TransportChannelFactory.cs
- OperandQuery.cs
- FontFamilyConverter.cs
- CompositeDuplexElement.cs
- StrokeFIndices.cs
- UInt32Storage.cs
- TypedTableBaseExtensions.cs
- Qualifier.cs
- RangeValuePattern.cs
- HtmlGenericControl.cs
- RegexNode.cs
- TdsParserSafeHandles.cs
- MonikerUtility.cs
- TimeStampChecker.cs
- HtmlInputPassword.cs
- RootBuilder.cs
- FormsAuthenticationConfiguration.cs
- OleDbInfoMessageEvent.cs
- WinFormsComponentEditor.cs
- ScrollProviderWrapper.cs
- MemoryResponseElement.cs
- BrowserCapabilitiesFactory.cs
- AssemblyInfo.cs
- RealProxy.cs
- ReadWriteObjectLock.cs
- AsyncParams.cs
- WindowsListViewScroll.cs
- Wizard.cs
- WindowsPrincipal.cs
- CustomPeerResolverService.cs
- XmlQuerySequence.cs