Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / 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
- SQLDoubleStorage.cs
- RangeValidator.cs
- ThreadExceptionDialog.cs
- sqlcontext.cs
- DataGridViewCellValueEventArgs.cs
- IdentityValidationException.cs
- WebReferenceCollection.cs
- WebPermission.cs
- SqlCacheDependencyDatabaseCollection.cs
- DocumentPageTextView.cs
- ItemContainerGenerator.cs
- AddressUtility.cs
- HScrollBar.cs
- UnknownWrapper.cs
- RegionIterator.cs
- PartialArray.cs
- OracleDataAdapter.cs
- ColorAnimationBase.cs
- Span.cs
- XhtmlBasicPhoneCallAdapter.cs
- MatrixValueSerializer.cs
- SqlWebEventProvider.cs
- SystemColors.cs
- SystemPens.cs
- CompletionProxy.cs
- BindToObject.cs
- DBConcurrencyException.cs
- WaitHandleCannotBeOpenedException.cs
- PngBitmapEncoder.cs
- ControlOperationBehavior.cs
- ActivityBuilderXamlWriter.cs
- xmlfixedPageInfo.cs
- ColorAnimationUsingKeyFrames.cs
- GeneralTransform3DTo2D.cs
- BindingBase.cs
- KeyValuePair.cs
- ProfileManager.cs
- GridItemCollection.cs
- VScrollProperties.cs
- TextRangeAdaptor.cs
- StringWriter.cs
- WebConfigManager.cs
- XmlDeclaration.cs
- SamlAuthorizationDecisionStatement.cs
- FixedDocument.cs
- SerialPort.cs
- SqlDataSourceCommandEventArgs.cs
- PageParserFilter.cs
- SqlPersonalizationProvider.cs
- ServiceModelExtensionElement.cs
- ListView.cs
- securitycriticaldataClass.cs
- CodeRegionDirective.cs
- BreakRecordTable.cs
- MsmqOutputSessionChannel.cs
- UdpDiscoveryEndpointProvider.cs
- HitTestResult.cs
- ColorAnimationBase.cs
- SelectionGlyph.cs
- StatusBarPanel.cs
- RenameRuleObjectDialog.Designer.cs
- InvalidDataException.cs
- WebCodeGenerator.cs
- GorillaCodec.cs
- CallbackValidatorAttribute.cs
- BeginSelectCardRequest.cs
- NativeWindow.cs
- ObjectCloneHelper.cs
- ProxyHwnd.cs
- MessageFilterTable.cs
- MsmqAppDomainProtocolHandler.cs
- AnnotationResourceCollection.cs
- Encoding.cs
- XamlStackWriter.cs
- TextDpi.cs
- Lock.cs
- ContextMenuStrip.cs
- XmlHierarchicalDataSourceView.cs
- InternalConfigRoot.cs
- XmlIncludeAttribute.cs
- LookupBindingPropertiesAttribute.cs
- NumberEdit.cs
- ModuleBuilder.cs
- WizardSideBarListControlItemEventArgs.cs
- AssemblyBuilderData.cs
- MediaCommands.cs
- webclient.cs
- TrackPoint.cs
- CachedFontFamily.cs
- XmlText.cs
- TabControlCancelEvent.cs
- IDReferencePropertyAttribute.cs
- ToolBarPanel.cs
- BitmapEffectDrawingContent.cs
- LambdaCompiler.cs
- CLSCompliantAttribute.cs
- SingleAnimationBase.cs
- SelectionGlyphBase.cs
- DetailsViewPagerRow.cs
- ProtectedUri.cs