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
- RuntimeConfig.cs
- ProtectedProviderSettings.cs
- MergablePropertyAttribute.cs
- AssemblySettingAttributes.cs
- TCPListener.cs
- ProxyElement.cs
- BamlVersionHeader.cs
- Size3D.cs
- WebPartActionVerb.cs
- EnumBuilder.cs
- ImplicitInputBrush.cs
- GorillaCodec.cs
- KeyGestureConverter.cs
- ObjectQuery.cs
- ResourceReferenceKeyNotFoundException.cs
- HttpRawResponse.cs
- SharedPersonalizationStateInfo.cs
- TypeCollectionPropertyEditor.cs
- PerformanceCounterCategory.cs
- FileInfo.cs
- NonBatchDirectoryCompiler.cs
- HtmlInputImage.cs
- UserControlAutomationPeer.cs
- CheckBox.cs
- ProgressChangedEventArgs.cs
- CodeGenerator.cs
- TemplateBindingExtensionConverter.cs
- SmiRecordBuffer.cs
- TypeToken.cs
- XPathBinder.cs
- BitmapCodecInfoInternal.cs
- AssociatedControlConverter.cs
- BitmapMetadataEnumerator.cs
- CompiledQuery.cs
- ResourcePermissionBaseEntry.cs
- MultipleViewProviderWrapper.cs
- SharedPerformanceCounter.cs
- StateItem.cs
- InputScopeNameConverter.cs
- SortedSetDebugView.cs
- DBSqlParserColumnCollection.cs
- DispatchWrapper.cs
- EUCJPEncoding.cs
- LinqDataSourceStatusEventArgs.cs
- lengthconverter.cs
- DrawTreeNodeEventArgs.cs
- EnumValidator.cs
- StringResourceManager.cs
- DataComponentMethodGenerator.cs
- ScrollEventArgs.cs
- XPathAxisIterator.cs
- PropertyGroupDescription.cs
- M3DUtil.cs
- OutputBuffer.cs
- PreservationFileReader.cs
- EvidenceBase.cs
- MemberRestriction.cs
- EntityDesignerDataSourceView.cs
- QilCloneVisitor.cs
- TokenBasedSet.cs
- UnionCqlBlock.cs
- TextRangeAdaptor.cs
- StyleCollectionEditor.cs
- WebResourceAttribute.cs
- PermissionToken.cs
- ItemDragEvent.cs
- InternalConfigRoot.cs
- AdCreatedEventArgs.cs
- WebHttpDispatchOperationSelector.cs
- MarshalByRefObject.cs
- Perspective.cs
- PowerStatus.cs
- Environment.cs
- DropShadowBitmapEffect.cs
- EpmContentDeSerializer.cs
- Odbc32.cs
- TemplateXamlParser.cs
- PackageDigitalSignature.cs
- KoreanCalendar.cs
- DesigntimeLicenseContext.cs
- SystemShuttingDownException.cs
- XamlBrushSerializer.cs
- xamlnodes.cs
- StandardBindingCollectionElement.cs
- SqlWebEventProvider.cs
- MD5HashHelper.cs
- AvTraceFormat.cs
- XPathChildIterator.cs
- NameObjectCollectionBase.cs
- HttpResponseHeader.cs
- ClientEventManager.cs
- RelatedImageListAttribute.cs
- FixedSOMLineCollection.cs
- Operators.cs
- NameTable.cs
- CTreeGenerator.cs
- DbFunctionCommandTree.cs
- PropertyToken.cs
- filewebrequest.cs
- String.cs