Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DatatypeImplementation.cs
- SmiEventSink.cs
- HttpErrorTraceRecord.cs
- PropertyOrder.cs
- MethodBody.cs
- Context.cs
- XmlSchemaInfo.cs
- Int16Animation.cs
- DataGridViewBindingCompleteEventArgs.cs
- Int16Animation.cs
- SiteMap.cs
- VisualTreeHelper.cs
- Parallel.cs
- EmbossBitmapEffect.cs
- ServicePointManager.cs
- AppSettings.cs
- Error.cs
- Vars.cs
- DataRowView.cs
- PersonalizationDictionary.cs
- VolatileEnlistmentMultiplexing.cs
- CreateUserWizardStep.cs
- COM2FontConverter.cs
- AuthenticodeSignatureInformation.cs
- LabelLiteral.cs
- CodeIdentifiers.cs
- URLString.cs
- InfoCardListRequest.cs
- XDRSchema.cs
- mactripleDES.cs
- EdmSchemaAttribute.cs
- BulletedListEventArgs.cs
- WebPartPersonalization.cs
- CleanUpVirtualizedItemEventArgs.cs
- AsyncOperationManager.cs
- AttachmentService.cs
- DrawingBrush.cs
- MultiPageTextView.cs
- XmlDownloadManager.cs
- WebRequestModuleElement.cs
- BaseCodePageEncoding.cs
- ComplusTypeValidator.cs
- EncryptedData.cs
- XmlSchemaSimpleContentExtension.cs
- TextBoxAutoCompleteSourceConverter.cs
- HttpsTransportBindingElement.cs
- RoutedUICommand.cs
- SQLString.cs
- Walker.cs
- ConfigurationException.cs
- ReadOnlyTernaryTree.cs
- ArrayList.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- AccessibleObject.cs
- HttpListenerException.cs
- PageEventArgs.cs
- PathFigure.cs
- ObjectCloneHelper.cs
- BufferCache.cs
- HashHelpers.cs
- FilterEventArgs.cs
- PageSetupDialog.cs
- EventRecord.cs
- CompilationLock.cs
- ConfigurationSectionCollection.cs
- COM2TypeInfoProcessor.cs
- ServiceTimeoutsElement.cs
- TextSelectionHighlightLayer.cs
- OrderingInfo.cs
- Int64Animation.cs
- BulletChrome.cs
- Int32EqualityComparer.cs
- HwndAppCommandInputProvider.cs
- FillBehavior.cs
- BStrWrapper.cs
- NavigationExpr.cs
- TargetParameterCountException.cs
- OutputCacheProfileCollection.cs
- ObjectRef.cs
- XmlMembersMapping.cs
- HttpCachePolicyBase.cs
- followingsibling.cs
- OracleBoolean.cs
- SelectionHighlightInfo.cs
- WebBrowserNavigatingEventHandler.cs
- BrowsableAttribute.cs
- TraceListeners.cs
- XmlSchemaException.cs
- SymDocumentType.cs
- DependencyPropertyConverter.cs
- CurrentChangedEventManager.cs
- PerformanceCounterCategory.cs
- keycontainerpermission.cs
- NavigationCommands.cs
- PasswordRecovery.cs
- SQLUtility.cs
- CustomTypeDescriptor.cs
- OrElse.cs
- DesignSurfaceCollection.cs
- CultureSpecificCharacterBufferRange.cs