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
- JapaneseLunisolarCalendar.cs
- VectorAnimationUsingKeyFrames.cs
- FtpWebRequest.cs
- RangeValidator.cs
- CalendarButton.cs
- DynamicILGenerator.cs
- PixelShader.cs
- PageVisual.cs
- ConnectorRouter.cs
- UnsafePeerToPeerMethods.cs
- Atom10FeedFormatter.cs
- ValueChangedEventManager.cs
- StateDesigner.cs
- SqlDataSourceDesigner.cs
- CodeExporter.cs
- Renderer.cs
- _ListenerRequestStream.cs
- ByeMessageApril2005.cs
- Compiler.cs
- DataRecordInternal.cs
- ActivityTrace.cs
- HtmlTitle.cs
- ObjectListSelectEventArgs.cs
- KeyMatchBuilder.cs
- NetworkAddressChange.cs
- ScriptRegistrationManager.cs
- StringDictionaryCodeDomSerializer.cs
- BindingGraph.cs
- ServicePointManager.cs
- PropertySourceInfo.cs
- AuthorizationRule.cs
- QilCloneVisitor.cs
- NopReturnReader.cs
- WebContext.cs
- tibetanshape.cs
- PolyQuadraticBezierSegment.cs
- ListDictionaryInternal.cs
- ToReply.cs
- WebPartMinimizeVerb.cs
- ProxyWebPartConnectionCollection.cs
- HttpListenerResponse.cs
- _FtpControlStream.cs
- BorderGapMaskConverter.cs
- WebHttpElement.cs
- IResourceProvider.cs
- WpfKnownMemberInvoker.cs
- GlobalizationAssembly.cs
- DataControlReference.cs
- VersionPair.cs
- ColorConvertedBitmapExtension.cs
- _DomainName.cs
- TransformerInfoCollection.cs
- ToolboxDataAttribute.cs
- ObjectStateFormatter.cs
- GCHandleCookieTable.cs
- HostedImpersonationContext.cs
- AlphabeticalEnumConverter.cs
- ChtmlImageAdapter.cs
- WizardStepBase.cs
- GroupBoxAutomationPeer.cs
- _NegoState.cs
- ZipIOExtraField.cs
- GraphicsContainer.cs
- ExpressionVisitorHelpers.cs
- Int64AnimationUsingKeyFrames.cs
- ACL.cs
- LinkedResource.cs
- xmlfixedPageInfo.cs
- CallSite.cs
- PointKeyFrameCollection.cs
- DrawingVisualDrawingContext.cs
- SQlBooleanStorage.cs
- FixedSchema.cs
- CodeDelegateCreateExpression.cs
- ToolboxDataAttribute.cs
- PageSetupDialog.cs
- IncrementalCompileAnalyzer.cs
- ImageBrush.cs
- XmlDataSource.cs
- UpdateRecord.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- XhtmlBasicListAdapter.cs
- SoapServerProtocol.cs
- XhtmlBasicCommandAdapter.cs
- UrlAuthFailedErrorFormatter.cs
- MatrixKeyFrameCollection.cs
- PropertyGridDesigner.cs
- LassoHelper.cs
- StylusPointProperties.cs
- SqlSupersetValidator.cs
- SystemDropShadowChrome.cs
- CapabilitiesPattern.cs
- Calendar.cs
- _UriTypeConverter.cs
- TextTreeNode.cs
- Color.cs
- Section.cs
- XslTransform.cs
- UserThread.cs
- IListConverters.cs