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
- Panel.cs
- FileEnumerator.cs
- MediaEntryAttribute.cs
- DSGeneratorProblem.cs
- smtppermission.cs
- PointCollection.cs
- CompressedStack.cs
- AnimationLayer.cs
- SqlDataSourceView.cs
- TrackingExtract.cs
- DropSource.cs
- TreeNodeCollectionEditor.cs
- SwitchLevelAttribute.cs
- NativeWindow.cs
- ScriptReferenceBase.cs
- ValidationService.cs
- PreviewKeyDownEventArgs.cs
- AdvancedBindingPropertyDescriptor.cs
- NoneExcludedImageIndexConverter.cs
- DataServiceCollectionOfT.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- JsonFormatReaderGenerator.cs
- HttpCookieCollection.cs
- CodeSubDirectoriesCollection.cs
- TouchFrameEventArgs.cs
- InitialServerConnectionReader.cs
- SrgsDocument.cs
- TreeNodeEventArgs.cs
- ObjectPropertyMapping.cs
- XmlTextAttribute.cs
- RecordBuilder.cs
- XPathDescendantIterator.cs
- PageSetupDialog.cs
- FilterableData.cs
- GroupBox.cs
- InputLangChangeEvent.cs
- MatchNoneMessageFilter.cs
- Msec.cs
- SpeakProgressEventArgs.cs
- NamespaceEmitter.cs
- xmlsaver.cs
- Keyboard.cs
- WebServiceBindingAttribute.cs
- DrawingDrawingContext.cs
- ValidationErrorCollection.cs
- CompoundFileStreamReference.cs
- TypeUtil.cs
- XDeferredAxisSource.cs
- SoapAttributes.cs
- Transform3D.cs
- ObjectResult.cs
- TextOnlyOutput.cs
- BigInt.cs
- PlanCompiler.cs
- MDIClient.cs
- PipeStream.cs
- UIElement3D.cs
- QilLoop.cs
- NativeObjectSecurity.cs
- FixUp.cs
- MiniMapControl.xaml.cs
- DynamicField.cs
- ServicePointManager.cs
- GlyphingCache.cs
- MetadataArtifactLoaderResource.cs
- NavigationCommands.cs
- TextSearch.cs
- HwndHostAutomationPeer.cs
- DataGridView.cs
- Page.cs
- LocalClientSecuritySettings.cs
- FreezableDefaultValueFactory.cs
- NativeMethods.cs
- RootBrowserWindowAutomationPeer.cs
- SecurityException.cs
- TextLineBreak.cs
- AttributeCollection.cs
- CollectionType.cs
- Point4DValueSerializer.cs
- WebBrowser.cs
- Select.cs
- OracleBFile.cs
- MapPathBasedVirtualPathProvider.cs
- SecurityTimestamp.cs
- Polygon.cs
- basenumberconverter.cs
- UseLicense.cs
- SQLString.cs
- LostFocusEventManager.cs
- ExtensionSimplifierMarkupObject.cs
- ExpressionReplacer.cs
- EntityDesignerDataSourceView.cs
- EntityStoreSchemaGenerator.cs
- MouseEventArgs.cs
- RemotingConfigParser.cs
- DataRowChangeEvent.cs
- RuntimeCompatibilityAttribute.cs
- DATA_BLOB.cs
- CompilerScope.cs
- InputQueueChannel.cs