Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- HttpHeaderCollection.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- AtomServiceDocumentSerializer.cs
- OperationResponse.cs
- ForceCopyBuildProvider.cs
- Input.cs
- ExtensionsSection.cs
- infer.cs
- ComboBoxRenderer.cs
- JsonEnumDataContract.cs
- TextParaClient.cs
- CachedBitmap.cs
- PackagingUtilities.cs
- LinkTarget.cs
- ContentIterators.cs
- Point3DAnimation.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- DataServiceProcessingPipelineEventArgs.cs
- ToolBar.cs
- SchemaLookupTable.cs
- Axis.cs
- WebConfigurationFileMap.cs
- ServiceProviders.cs
- MailMessageEventArgs.cs
- ByteKeyFrameCollection.cs
- StyleTypedPropertyAttribute.cs
- PasswordTextNavigator.cs
- MsmqIntegrationBindingCollectionElement.cs
- DeclarativeCatalogPart.cs
- MasterPageBuildProvider.cs
- ToolStripContentPanel.cs
- BitmapEffect.cs
- Int32AnimationUsingKeyFrames.cs
- ValidationHelper.cs
- MissingFieldException.cs
- ImpersonationContext.cs
- ContextMarshalException.cs
- EntryPointNotFoundException.cs
- ColorKeyFrameCollection.cs
- SecurityResources.cs
- UiaCoreProviderApi.cs
- oledbmetadatacolumnnames.cs
- RangeValuePattern.cs
- DataGridViewComboBoxColumn.cs
- TextTreeRootTextBlock.cs
- SystemColors.cs
- Selector.cs
- Figure.cs
- ModuleElement.cs
- UiaCoreProviderApi.cs
- TreeNodeBinding.cs
- ToolStripLocationCancelEventArgs.cs
- TaiwanLunisolarCalendar.cs
- COM2TypeInfoProcessor.cs
- CqlErrorHelper.cs
- HtmlWindowCollection.cs
- DefaultHttpHandler.cs
- TextEditorLists.cs
- BulletChrome.cs
- HttpModulesSection.cs
- ControlParameter.cs
- Misc.cs
- StatementContext.cs
- StrongNamePublicKeyBlob.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- RoutedEventConverter.cs
- TreeBuilder.cs
- FormConverter.cs
- DockProviderWrapper.cs
- LineServices.cs
- AuthenticationConfig.cs
- XmlSchemaGroup.cs
- HeaderCollection.cs
- DoubleAnimationUsingPath.cs
- smtppermission.cs
- WSTransactionSection.cs
- EntityClassGenerator.cs
- complextypematerializer.cs
- SecUtil.cs
- CssStyleCollection.cs
- TableLayoutCellPaintEventArgs.cs
- PersonalizationAdministration.cs
- OperatingSystem.cs
- DataKey.cs
- DbCommandTree.cs
- PageContentCollection.cs
- Visual3D.cs
- NumberFunctions.cs
- StreamInfo.cs
- OLEDB_Enum.cs
- DemultiplexingClientMessageFormatter.cs
- DataServiceExpressionVisitor.cs
- LinkLabelLinkClickedEvent.cs
- MsmqEncryptionAlgorithm.cs
- Link.cs
- CommonXSendMessage.cs
- DbParameterCollectionHelper.cs
- GlyphsSerializer.cs
- PeerApplication.cs
- XmlElementCollection.cs