Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Configuration / System / Configuration / ConfigXmlComment.cs / 1 / ConfigXmlComment.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 ConfigXmlComment : XmlComment, IConfigErrorInfo { int _line; string _filename; public ConfigXmlComment( string filename, int line, string comment, XmlDocument doc ) : base( comment, 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); ConfigXmlComment clone = cloneNode as ConfigXmlComment; 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 ConfigXmlComment : XmlComment, IConfigErrorInfo { int _line; string _filename; public ConfigXmlComment( string filename, int line, string comment, XmlDocument doc ) : base( comment, 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); ConfigXmlComment clone = cloneNode as ConfigXmlComment; 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
- MdiWindowListStrip.cs
- RoutedEventConverter.cs
- ServiceAuthorizationManager.cs
- SecurityUtils.cs
- PrintPreviewControl.cs
- Path.cs
- ButtonPopupAdapter.cs
- Pair.cs
- HttpInputStream.cs
- SqlDataSourceConnectionPanel.cs
- PassportAuthenticationEventArgs.cs
- CommonXSendMessage.cs
- XmlObjectSerializer.cs
- DiscoveryClientChannelFactory.cs
- GlobalId.cs
- CngProvider.cs
- StdValidatorsAndConverters.cs
- DescendantOverDescendantQuery.cs
- ReadOnlyHierarchicalDataSourceView.cs
- DataGridViewSelectedColumnCollection.cs
- MsmqOutputChannel.cs
- RenamedEventArgs.cs
- ToolStripProgressBar.cs
- BuilderInfo.cs
- TabPanel.cs
- UnmanagedMarshal.cs
- HwndSource.cs
- Style.cs
- TrackingMemoryStreamFactory.cs
- UrlPropertyAttribute.cs
- PathSegment.cs
- CurrentTimeZone.cs
- AutomationPropertyInfo.cs
- HttpVersion.cs
- XmlTextAttribute.cs
- TextTreeInsertUndoUnit.cs
- HwndHostAutomationPeer.cs
- ExecutionPropertyManager.cs
- NativeMethods.cs
- TcpProcessProtocolHandler.cs
- SqlDelegatedTransaction.cs
- TypeDescriptionProvider.cs
- RuntimeVariablesExpression.cs
- CodeIdentifier.cs
- MatrixTransform.cs
- FocusChangedEventArgs.cs
- ProfileModule.cs
- VectorAnimationBase.cs
- FormViewDeleteEventArgs.cs
- ClientTargetSection.cs
- DateTimeValueSerializerContext.cs
- HtmlElementErrorEventArgs.cs
- DataRecord.cs
- ToolStripTextBox.cs
- PathFigureCollection.cs
- XmlAggregates.cs
- Rectangle.cs
- UnsafeNetInfoNativeMethods.cs
- PenCursorManager.cs
- ByteArrayHelperWithString.cs
- CodePropertyReferenceExpression.cs
- ScrollItemPatternIdentifiers.cs
- ResourcesBuildProvider.cs
- ObjectDataSource.cs
- QilCloneVisitor.cs
- CqlLexer.cs
- CodeCommentStatement.cs
- bidPrivateBase.cs
- ILGen.cs
- ErrorHandler.cs
- TaskFileService.cs
- SerializationEventsCache.cs
- CodeRemoveEventStatement.cs
- HttpResponseInternalWrapper.cs
- SQLByte.cs
- ElementAction.cs
- TypePresenter.xaml.cs
- MultiPageTextView.cs
- WindowsComboBox.cs
- MessageHeaderDescriptionCollection.cs
- WaitHandleCannotBeOpenedException.cs
- PeerPresenceInfo.cs
- TileBrush.cs
- XmlSecureResolver.cs
- ModuleConfigurationInfo.cs
- Substitution.cs
- ColorKeyFrameCollection.cs
- ThreadPoolTaskScheduler.cs
- PeerInvitationResponse.cs
- EditorZoneBase.cs
- Expander.cs
- TransformerConfigurationWizardBase.cs
- Visual3DCollection.cs
- JsonWriter.cs
- BaseTemplateBuildProvider.cs
- StylusPointProperties.cs
- returneventsaver.cs
- SHA256Cng.cs
- WindowsAuthenticationModule.cs
- FixedMaxHeap.cs