Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / 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
- TreeBuilder.cs
- XmlNamedNodeMap.cs
- BoundingRectTracker.cs
- ExpressionParser.cs
- M3DUtil.cs
- StreamInfo.cs
- ValidationError.cs
- MergeLocalizationDirectives.cs
- ParallelSeparator.xaml.cs
- HitTestWithGeometryDrawingContextWalker.cs
- TerminatorSinks.cs
- AsymmetricSignatureFormatter.cs
- ObjectIDGenerator.cs
- PackagePart.cs
- CoTaskMemHandle.cs
- Group.cs
- Compress.cs
- SecurityManager.cs
- DesignerProperties.cs
- DataSourceSelectArguments.cs
- CacheDict.cs
- util.cs
- CqlQuery.cs
- ObjectDataSourceFilteringEventArgs.cs
- ToolStripOverflowButton.cs
- EdmTypeAttribute.cs
- IndentTextWriter.cs
- DbModificationClause.cs
- Popup.cs
- Pair.cs
- DebugHandleTracker.cs
- GridView.cs
- WebBrowserNavigatedEventHandler.cs
- XPathDocumentIterator.cs
- SizeConverter.cs
- DocumentSequence.cs
- StructuralCache.cs
- BindingNavigator.cs
- FlowDocumentScrollViewer.cs
- ImportRequest.cs
- DefaultValueTypeConverter.cs
- BoundPropertyEntry.cs
- SafeBitVector32.cs
- SubMenuStyleCollection.cs
- ProfileEventArgs.cs
- FilteredReadOnlyMetadataCollection.cs
- InputLanguageEventArgs.cs
- IdentitySection.cs
- WmlObjectListAdapter.cs
- WebPartDisplayMode.cs
- CommandConverter.cs
- DbFunctionCommandTree.cs
- AuthorizationRuleCollection.cs
- BindingContext.cs
- DataGridItem.cs
- ErrorEventArgs.cs
- XmlSerializationWriter.cs
- TriggerActionCollection.cs
- SqlCacheDependencyDatabaseCollection.cs
- CodeCatchClauseCollection.cs
- OrCondition.cs
- EventDrivenDesigner.cs
- ExtentKey.cs
- SqlDependencyListener.cs
- SHA256.cs
- DbSetClause.cs
- HtmlTitle.cs
- XmlReflectionMember.cs
- CodePageUtils.cs
- XamlToRtfParser.cs
- InvalidEnumArgumentException.cs
- XmlSubtreeReader.cs
- StoreItemCollection.Loader.cs
- PointLight.cs
- DataGridViewAddColumnDialog.cs
- SQLSingle.cs
- RtfToXamlLexer.cs
- QuaternionAnimationUsingKeyFrames.cs
- DataGridAddNewRow.cs
- PackagingUtilities.cs
- LostFocusEventManager.cs
- DetailsView.cs
- OracleBinary.cs
- XPathEmptyIterator.cs
- DecimalConverter.cs
- PenCursorManager.cs
- SerializationInfo.cs
- CommonXSendMessage.cs
- KeyboardEventArgs.cs
- Message.cs
- WebConfigurationFileMap.cs
- ProfileInfo.cs
- TaskFileService.cs
- SqlDataSourceDesigner.cs
- ApplicationServiceManager.cs
- MinMaxParagraphWidth.cs
- IPAddressCollection.cs
- ItemsControlAutomationPeer.cs
- HeaderCollection.cs
- BinaryObjectWriter.cs