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
- CodeTypeOfExpression.cs
- EventBindingService.cs
- safesecurityhelperavalon.cs
- DiscardableAttribute.cs
- PenThreadWorker.cs
- SingleConverter.cs
- SafeEventLogWriteHandle.cs
- HttpProfileGroupBase.cs
- WmlPhoneCallAdapter.cs
- DataPagerField.cs
- SiteMapHierarchicalDataSourceView.cs
- Overlapped.cs
- CircleHotSpot.cs
- ProfileManager.cs
- QuaternionAnimation.cs
- CheckBox.cs
- BitStack.cs
- PropertyStore.cs
- MeasureItemEvent.cs
- HierarchicalDataBoundControlAdapter.cs
- SqlDataSourceCommandParser.cs
- SqlSelectStatement.cs
- XmlSerializerFactory.cs
- WebPartDisplayModeEventArgs.cs
- WebHostUnsafeNativeMethods.cs
- SecurityContextKeyIdentifierClause.cs
- SQLDateTimeStorage.cs
- RestClientProxyHandler.cs
- ThemeableAttribute.cs
- RoutingUtilities.cs
- InkSerializer.cs
- MessageEnumerator.cs
- ProcessThreadCollection.cs
- CustomCategoryAttribute.cs
- SqlMetaData.cs
- QueryExecutionOption.cs
- AppSettingsSection.cs
- MenuAdapter.cs
- SelectedDatesCollection.cs
- SecurityContextTokenValidationException.cs
- ImageListStreamer.cs
- UnsafePeerToPeerMethods.cs
- BuildProvidersCompiler.cs
- Variant.cs
- ZipIORawDataFileBlock.cs
- StringWriter.cs
- FileDetails.cs
- Win32SafeHandles.cs
- ContextMenu.cs
- TableLayoutColumnStyleCollection.cs
- ScriptResourceHandler.cs
- NameValueConfigurationCollection.cs
- WebPartDisplayMode.cs
- ObjectTag.cs
- TextEditorCopyPaste.cs
- HtmlInputRadioButton.cs
- RtfToXamlLexer.cs
- WebPartAuthorizationEventArgs.cs
- DropShadowBitmapEffect.cs
- WorkItem.cs
- LeftCellWrapper.cs
- KnownTypesHelper.cs
- OutputCacheProfileCollection.cs
- InstanceDescriptor.cs
- TextSimpleMarkerProperties.cs
- CodeComment.cs
- TemplatePartAttribute.cs
- ConfigsHelper.cs
- DataColumnChangeEvent.cs
- LoadRetryAsyncResult.cs
- SelectorItemAutomationPeer.cs
- Rules.cs
- ClientTarget.cs
- CodeGen.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ListViewCommandEventArgs.cs
- EntityProviderFactory.cs
- CompatibleIComparer.cs
- Reference.cs
- ToolStripItemCollection.cs
- OdbcDataAdapter.cs
- ProviderException.cs
- ChildTable.cs
- UnsafeNativeMethods.cs
- SoapObjectReader.cs
- GcHandle.cs
- WebPartDisplayModeCollection.cs
- DataGridViewTopLeftHeaderCell.cs
- HtmlInputCheckBox.cs
- _NtlmClient.cs
- PersonalizationDictionary.cs
- InvokeGenerator.cs
- MaskInputRejectedEventArgs.cs
- sortedlist.cs
- PackagePart.cs
- GorillaCodec.cs
- X509PeerCertificateAuthentication.cs
- TextTabProperties.cs
- SafeHandle.cs
- SqlCrossApplyToCrossJoin.cs