Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Sys / System / Configuration / ConfigXmlElement.cs / 1 / ConfigXmlElement.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 ConfigXmlElement : XmlElement, IConfigErrorInfo { int _line; string _filename; public ConfigXmlElement( string filename, int line, string prefix, string localName, string namespaceUri, XmlDocument doc ) : base( prefix, localName, namespaceUri, 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); ConfigXmlElement clone = cloneNode as ConfigXmlElement; 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 ConfigXmlElement : XmlElement, IConfigErrorInfo { int _line; string _filename; public ConfigXmlElement( string filename, int line, string prefix, string localName, string namespaceUri, XmlDocument doc ) : base( prefix, localName, namespaceUri, 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); ConfigXmlElement clone = cloneNode as ConfigXmlElement; 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
- CorrelationManager.cs
- UserMapPath.cs
- CatalogZoneBase.cs
- DeflateStream.cs
- XsdCachingReader.cs
- HyperlinkAutomationPeer.cs
- HistoryEventArgs.cs
- DataServiceQueryOfT.cs
- shaperfactory.cs
- SystemNetworkInterface.cs
- PropertyPathConverter.cs
- GenerateTemporaryTargetAssembly.cs
- NamespaceList.cs
- XmlWriter.cs
- MembershipUser.cs
- SequentialOutput.cs
- TreeWalkHelper.cs
- ReadonlyMessageFilter.cs
- TemplatePartAttribute.cs
- SafeCloseHandleCritical.cs
- ObjectMemberMapping.cs
- ClrPerspective.cs
- StorageModelBuildProvider.cs
- BaseInfoTable.cs
- Oid.cs
- DynamicPropertyReader.cs
- TcpProcessProtocolHandler.cs
- RelationshipManager.cs
- CharAnimationUsingKeyFrames.cs
- HttpHeaderCollection.cs
- HttpCookie.cs
- Point3D.cs
- AccessText.cs
- ServicePointManagerElement.cs
- ProxyWebPartConnectionCollection.cs
- ConfigXmlWhitespace.cs
- SQLResource.cs
- NameValueSectionHandler.cs
- Command.cs
- PeerCustomResolverBindingElement.cs
- UserNameSecurityTokenAuthenticator.cs
- pingexception.cs
- wgx_commands.cs
- Pen.cs
- EntityProxyFactory.cs
- Literal.cs
- BitmapEncoder.cs
- LiteralDesigner.cs
- MsmqChannelFactory.cs
- ExtensionDataObject.cs
- MimeTypeAttribute.cs
- Int32Collection.cs
- NumericPagerField.cs
- QueueException.cs
- CssStyleCollection.cs
- CodeGenerator.cs
- ActivityValidator.cs
- ZipIOExtraFieldPaddingElement.cs
- SyndicationItem.cs
- InvalidPrinterException.cs
- ZoneLinkButton.cs
- DataMember.cs
- TraceProvider.cs
- Assembly.cs
- ContentElement.cs
- DateTimeFormat.cs
- StoreItemCollection.cs
- TransportManager.cs
- StatusBarItem.cs
- PingReply.cs
- ReadonlyMessageFilter.cs
- ToolStripItemTextRenderEventArgs.cs
- CoreSwitches.cs
- SelectionEditingBehavior.cs
- FlowDocumentPageViewerAutomationPeer.cs
- SponsorHelper.cs
- SweepDirectionValidation.cs
- OutputCacheModule.cs
- PolygonHotSpot.cs
- DataGridViewComboBoxColumn.cs
- PipelineModuleStepContainer.cs
- AliasGenerator.cs
- MonthChangedEventArgs.cs
- SplashScreenNativeMethods.cs
- XmlSchemaGroupRef.cs
- RepeaterDataBoundAdapter.cs
- ZipIOExtraFieldPaddingElement.cs
- OperandQuery.cs
- AutomationElementCollection.cs
- ObjectTokenCategory.cs
- BindingBase.cs
- RijndaelManaged.cs
- DynamicDiscoSearcher.cs
- HttpSessionStateBase.cs
- InvalidProgramException.cs
- FatalException.cs
- ToolStripPanelSelectionBehavior.cs
- PersonalizableTypeEntry.cs
- FileLogRecordStream.cs
- SQLDateTimeStorage.cs