Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / Configuration / ConfigXmlElement.cs / 1305376 / 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
- WebPartActionVerb.cs
- Table.cs
- MessageVersionConverter.cs
- WebChannelFactory.cs
- DataServiceHostFactory.cs
- MatchingStyle.cs
- TdsParserStaticMethods.cs
- SqlDataSourceQueryConverter.cs
- WebServiceHandlerFactory.cs
- CharacterMetrics.cs
- XhtmlBasicLabelAdapter.cs
- login.cs
- WindowsEditBox.cs
- WebConfigurationFileMap.cs
- ObjectDataSourceDisposingEventArgs.cs
- ColorPalette.cs
- CTreeGenerator.cs
- HashHelper.cs
- Model3D.cs
- TypeRestriction.cs
- VersionedStream.cs
- Point3DCollectionConverter.cs
- Fonts.cs
- LinkLabelLinkClickedEvent.cs
- AdobeCFFWrapper.cs
- DataControlField.cs
- ListViewGroupConverter.cs
- MenuItemBindingCollection.cs
- PersonalizableTypeEntry.cs
- ErrorFormatter.cs
- FastEncoderWindow.cs
- LocatorPartList.cs
- NotifyIcon.cs
- ComponentEvent.cs
- IntegerValidator.cs
- XPathPatternBuilder.cs
- ExpandableObjectConverter.cs
- CompModHelpers.cs
- HttpInputStream.cs
- IdentifierCollection.cs
- ValidationManager.cs
- DynamicILGenerator.cs
- BatchParser.cs
- DBCommandBuilder.cs
- IPHostEntry.cs
- PasswordTextContainer.cs
- SingleSelectRootGridEntry.cs
- TemplatedControlDesigner.cs
- PathData.cs
- PipeStream.cs
- ZipArchive.cs
- ConnectionStringSettingsCollection.cs
- basevalidator.cs
- WebPartCancelEventArgs.cs
- DataTablePropertyDescriptor.cs
- FrameworkElementAutomationPeer.cs
- ConnectionProviderAttribute.cs
- UnsafeNetInfoNativeMethods.cs
- ErrorRuntimeConfig.cs
- DrawingVisualDrawingContext.cs
- TypeNameConverter.cs
- FormatConvertedBitmap.cs
- HttpCachePolicyElement.cs
- EntityCommandCompilationException.cs
- ExecutionProperties.cs
- WebConvert.cs
- MiniMapControl.xaml.cs
- ParseNumbers.cs
- SolidColorBrush.cs
- AbsoluteQuery.cs
- InkCanvas.cs
- CompilerLocalReference.cs
- ListCommandEventArgs.cs
- TabRenderer.cs
- ProcessHostFactoryHelper.cs
- UnaryNode.cs
- ComplexType.cs
- AssemblyBuilder.cs
- StrongNameUtility.cs
- InkPresenterAutomationPeer.cs
- X509CertificateTrustedIssuerElementCollection.cs
- MexTcpBindingCollectionElement.cs
- ObjectAnimationBase.cs
- DriveNotFoundException.cs
- SemanticAnalyzer.cs
- OleDbFactory.cs
- WebBrowsableAttribute.cs
- unsafenativemethodsother.cs
- RSACryptoServiceProvider.cs
- OdbcParameter.cs
- NetworkInformationException.cs
- RelatedView.cs
- XamlTemplateSerializer.cs
- FilteredSchemaElementLookUpTable.cs
- GeometryHitTestResult.cs
- HttpResponseInternalWrapper.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- HtmlTernaryTree.cs
- GrammarBuilder.cs
- ContractCodeDomInfo.cs