Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- GlyphManager.cs
- BitVec.cs
- XmlDeclaration.cs
- BlurBitmapEffect.cs
- HitTestParameters3D.cs
- IdentityValidationException.cs
- WCFServiceClientProxyGenerator.cs
- EmissiveMaterial.cs
- EntityViewGenerator.cs
- PointAnimationClockResource.cs
- SystemIcmpV4Statistics.cs
- ToolStripRendererSwitcher.cs
- TreeSet.cs
- _HTTPDateParse.cs
- PropertyOverridesDialog.cs
- Binding.cs
- Empty.cs
- Visitors.cs
- FlagPanel.cs
- NodeLabelEditEvent.cs
- AssociationType.cs
- ListBoxAutomationPeer.cs
- InfoCardKeyedHashAlgorithm.cs
- PropertyEmitterBase.cs
- HtmlImage.cs
- BaseEntityWrapper.cs
- MenuItemBinding.cs
- AppDomainFactory.cs
- ChangeNode.cs
- SimpleApplicationHost.cs
- Lease.cs
- WindowsRegion.cs
- CompilerCollection.cs
- IApplicationTrustManager.cs
- RNGCryptoServiceProvider.cs
- SR.cs
- TypefaceMap.cs
- WorkflowInstanceTerminatedRecord.cs
- DataFieldConverter.cs
- BlobPersonalizationState.cs
- DocobjHost.cs
- OperandQuery.cs
- CreateUserWizardStep.cs
- DayRenderEvent.cs
- FlowNode.cs
- ExpressionDumper.cs
- DrawingGroup.cs
- StringFunctions.cs
- DefaultShape.cs
- IteratorFilter.cs
- ResourcePool.cs
- CustomTypeDescriptor.cs
- ListBoxDesigner.cs
- SchemaHelper.cs
- XmlILModule.cs
- HostedTcpTransportManager.cs
- DesignerImageAdapter.cs
- ReceiveContent.cs
- XDeferredAxisSource.cs
- DbConnectionStringCommon.cs
- EntityClassGenerator.cs
- GacUtil.cs
- TextViewBase.cs
- MaskedTextProvider.cs
- SmiEventSink_DeferedProcessing.cs
- DebuggerAttributes.cs
- TreeNode.cs
- InfoCardClaim.cs
- SineEase.cs
- RedirectionProxy.cs
- MultiSelectRootGridEntry.cs
- RenderData.cs
- SamlAttributeStatement.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- DataGridViewRowEventArgs.cs
- _ListenerAsyncResult.cs
- RtfToken.cs
- SizeKeyFrameCollection.cs
- ToolStripRenderer.cs
- TypeElementCollection.cs
- ToolBarOverflowPanel.cs
- CompilerState.cs
- RangeBase.cs
- FormsIdentity.cs
- SystemException.cs
- SelectedDatesCollection.cs
- SafeRegistryHandle.cs
- Ipv6Element.cs
- ReadOnlyHierarchicalDataSourceView.cs
- Matrix.cs
- X509Certificate.cs
- TypeDescriptionProvider.cs
- TextBoxLine.cs
- VisualBasicHelper.cs
- HttpCapabilitiesEvaluator.cs
- WindowsUpDown.cs
- ReachObjectContext.cs
- NetDataContractSerializer.cs
- XmlSchemaNotation.cs
- Stackframe.cs