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 / 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
- VirtualPathUtility.cs
- DataGridViewRowPrePaintEventArgs.cs
- AdornerPresentationContext.cs
- TextParagraphProperties.cs
- ToolTip.cs
- LinkUtilities.cs
- DataObjectMethodAttribute.cs
- GPPOINT.cs
- ClientUrlResolverWrapper.cs
- XamlDesignerSerializationManager.cs
- UserUseLicenseDictionaryLoader.cs
- storagemappingitemcollection.viewdictionary.cs
- ImageMapEventArgs.cs
- DateTimePicker.cs
- PerfCounters.cs
- Constants.cs
- HttpSocketManager.cs
- GridEntry.cs
- ConstructorBuilder.cs
- SmtpNtlmAuthenticationModule.cs
- CompilerParameters.cs
- RenamedEventArgs.cs
- DataGridViewColumnEventArgs.cs
- WindowsNonControl.cs
- MimeMultiPart.cs
- ProgressBar.cs
- XPathNodeList.cs
- returneventsaver.cs
- _AcceptOverlappedAsyncResult.cs
- XmlSchemaSimpleTypeList.cs
- NewArrayExpression.cs
- DesignTimeVisibleAttribute.cs
- StrongNameSignatureInformation.cs
- sqlpipe.cs
- IncrementalReadDecoders.cs
- OneWayChannelFactory.cs
- MenuRendererStandards.cs
- ClientSection.cs
- LinqDataSourceDeleteEventArgs.cs
- RijndaelManaged.cs
- ISessionStateStore.cs
- NameValueFileSectionHandler.cs
- TextEndOfSegment.cs
- DbResourceAllocator.cs
- HandledMouseEvent.cs
- CryptoConfig.cs
- ChannelServices.cs
- CompilerGeneratedAttribute.cs
- SymmetricKeyWrap.cs
- ClipboardProcessor.cs
- XmlWrappingWriter.cs
- ServiceModelSecurityTokenTypes.cs
- SatelliteContractVersionAttribute.cs
- FileRecordSequenceHelper.cs
- OdbcDataAdapter.cs
- InternalRelationshipCollection.cs
- RSAPKCS1KeyExchangeFormatter.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- DataGridViewAutoSizeModeEventArgs.cs
- WindowCollection.cs
- HttpContext.cs
- TextChangedEventArgs.cs
- SchemaNotation.cs
- LogRestartAreaEnumerator.cs
- DetailsViewAutoFormat.cs
- ImageAnimator.cs
- AddressHeaderCollection.cs
- InfoCardProofToken.cs
- CachedTypeface.cs
- MenuItem.cs
- ThreadExceptionEvent.cs
- ExceptionHandlers.cs
- QilSortKey.cs
- XmlSubtreeReader.cs
- Menu.cs
- securitycriticaldata.cs
- EmptyReadOnlyDictionaryInternal.cs
- SharedDp.cs
- FamilyMap.cs
- _ServiceNameStore.cs
- HtmlHistory.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- PropertyOrder.cs
- DropShadowBitmapEffect.cs
- SqlConnectionStringBuilder.cs
- Connector.cs
- WasEndpointConfigContainer.cs
- AsymmetricCryptoHandle.cs
- Calendar.cs
- ZipPackage.cs
- FilterFactory.cs
- Transform3D.cs
- ActionItem.cs
- _NestedSingleAsyncResult.cs
- JournalNavigationScope.cs
- figurelength.cs
- Roles.cs
- StylusButton.cs
- Visitors.cs
- ControlValuePropertyAttribute.cs