Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TableParaClient.cs
- ContentPlaceHolder.cs
- CodeSubDirectory.cs
- ResXDataNode.cs
- ClassHandlersStore.cs
- ConnectorSelectionGlyph.cs
- MessageAction.cs
- ModulesEntry.cs
- MinMaxParagraphWidth.cs
- UIElementCollection.cs
- ObjectQueryExecutionPlan.cs
- ScriptingProfileServiceSection.cs
- ArgumentNullException.cs
- XsltInput.cs
- XmlFileEditor.cs
- QueryRewriter.cs
- SqlRetyper.cs
- ExpandSegment.cs
- IisTraceListener.cs
- AutoResetEvent.cs
- QuadraticEase.cs
- ExistsInCollection.cs
- WorkflowMarkupSerializationProvider.cs
- ProviderConnectionPoint.cs
- XmlSchemaValidationException.cs
- HttpResponse.cs
- DataBindingExpressionBuilder.cs
- ConfigViewGenerator.cs
- DoubleAnimationUsingPath.cs
- SubstitutionDesigner.cs
- BindingContext.cs
- BitmapEffect.cs
- ExtensionQuery.cs
- EndOfStreamException.cs
- URLString.cs
- UrlPath.cs
- EdmPropertyAttribute.cs
- SizeConverter.cs
- OutputCacheSection.cs
- PageBorderless.cs
- XmlSerializerFormatAttribute.cs
- LabelLiteral.cs
- ArrayEditor.cs
- SolidBrush.cs
- UserControlCodeDomTreeGenerator.cs
- Transform3DCollection.cs
- Utility.cs
- NavigatorInput.cs
- SymbolDocumentGenerator.cs
- InputBinding.cs
- EnterpriseServicesHelper.cs
- TabRenderer.cs
- DataBoundControlAdapter.cs
- Trigger.cs
- SessionSwitchEventArgs.cs
- XmlUtf8RawTextWriter.cs
- ClientScriptManager.cs
- FieldAccessException.cs
- ImageFormat.cs
- DesignerEditorPartChrome.cs
- TemplateXamlTreeBuilder.cs
- SortQuery.cs
- GeometryCollection.cs
- SerializationException.cs
- Win32Exception.cs
- WinCategoryAttribute.cs
- ClientType.cs
- MeshGeometry3D.cs
- LicenseManager.cs
- BuilderElements.cs
- EmptyCollection.cs
- IISUnsafeMethods.cs
- QilTernary.cs
- HtmlTableCell.cs
- XmlILIndex.cs
- PtsHelper.cs
- COM2Properties.cs
- XmlILOptimizerVisitor.cs
- EmissiveMaterial.cs
- FormClosingEvent.cs
- XPathAxisIterator.cs
- StringBlob.cs
- HtmlTable.cs
- Image.cs
- Config.cs
- DataGridCellItemAutomationPeer.cs
- IsolationInterop.cs
- DataGridViewAutoSizeModeEventArgs.cs
- TypeToken.cs
- SqlClientPermission.cs
- SafeRightsManagementHandle.cs
- TargetControlTypeCache.cs
- TextSearch.cs
- Model3DCollection.cs
- KerberosSecurityTokenAuthenticator.cs
- HttpListenerPrefixCollection.cs
- IBuiltInEvidence.cs
- RoutedCommand.cs
- ReadOnlyPropertyMetadata.cs
- InputReportEventArgs.cs