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
- BatchParser.cs
- ConversionContext.cs
- UnsafeNativeMethods.cs
- DesignerImageAdapter.cs
- HtmlFormWrapper.cs
- RichTextBox.cs
- SatelliteContractVersionAttribute.cs
- DynamicEntity.cs
- FileNameEditor.cs
- SerializationSectionGroup.cs
- TraceLog.cs
- InterleavedZipPartStream.cs
- RegexBoyerMoore.cs
- TypeSemantics.cs
- FileDialogCustomPlacesCollection.cs
- OdbcConnectionPoolProviderInfo.cs
- DateTime.cs
- DependencyObjectType.cs
- RecommendedAsConfigurableAttribute.cs
- MessageHeaderDescriptionCollection.cs
- RC2.cs
- KeyConverter.cs
- LoginUtil.cs
- HScrollBar.cs
- ArcSegment.cs
- SimpleTypeResolver.cs
- CachedTypeface.cs
- CompositeScriptReference.cs
- reliableinputsessionchannel.cs
- Int32Storage.cs
- X500Name.cs
- ScaleTransform.cs
- ByteFacetDescriptionElement.cs
- MessageProtectionOrder.cs
- _TimerThread.cs
- COMException.cs
- InvalidDataException.cs
- NodeLabelEditEvent.cs
- MetadataItemEmitter.cs
- HttpListenerContext.cs
- TextElementAutomationPeer.cs
- ViewStateAttachedPropertyFeature.cs
- DataSourceProvider.cs
- TypeDefinition.cs
- TextRangeAdaptor.cs
- DockAndAnchorLayout.cs
- ServiceContractGenerationContext.cs
- ClientData.cs
- EncoderFallback.cs
- XamlNamespaceHelper.cs
- DataGridViewAutoSizeModeEventArgs.cs
- AccessedThroughPropertyAttribute.cs
- IISMapPath.cs
- NetworkCredential.cs
- SvcMapFileLoader.cs
- CriticalExceptions.cs
- LogReserveAndAppendState.cs
- FontStretchConverter.cs
- IntegerFacetDescriptionElement.cs
- AuthenticateEventArgs.cs
- ErrorHandlingAcceptor.cs
- TextSpanModifier.cs
- DataGridViewUtilities.cs
- ReadOnlyDataSource.cs
- MsmqBindingFilter.cs
- CategoryAttribute.cs
- EntityDataSourceConfigureObjectContext.cs
- DefaultPrintController.cs
- UnmanagedHandle.cs
- ValueConversionAttribute.cs
- SelectionBorderGlyph.cs
- TCPListener.cs
- M3DUtil.cs
- PerspectiveCamera.cs
- AngleUtil.cs
- DropDownButton.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- InputLanguageProfileNotifySink.cs
- IdnMapping.cs
- ProcessInputEventArgs.cs
- SettingsPropertyValueCollection.cs
- Command.cs
- SessionPageStatePersister.cs
- XmlUnspecifiedAttribute.cs
- HttpCookiesSection.cs
- QueryConverter.cs
- EventMap.cs
- HandleCollector.cs
- ConfigXmlSignificantWhitespace.cs
- CallTemplateAction.cs
- ActivityTypeCodeDomSerializer.cs
- ProfilePropertySettings.cs
- UnsafeNativeMethods.cs
- TypeName.cs
- SqlStream.cs
- prompt.cs
- NameTable.cs
- CellTreeNode.cs
- InternalConfigRoot.cs
- NameValueSectionHandler.cs