Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Sys / 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
- DocumentReferenceCollection.cs
- SoapEnvelopeProcessingElement.cs
- RotateTransform.cs
- HandleCollector.cs
- PassportAuthenticationEventArgs.cs
- RelationshipEntry.cs
- HelpEvent.cs
- DbRetry.cs
- SqlFacetAttribute.cs
- Margins.cs
- InkPresenter.cs
- Bits.cs
- RegexNode.cs
- Point.cs
- XmlSchemaExternal.cs
- Odbc32.cs
- MatchingStyle.cs
- IconConverter.cs
- BulletedListEventArgs.cs
- Visual.cs
- DataPager.cs
- HeaderedItemsControl.cs
- WsatConfiguration.cs
- EntitySet.cs
- ConnectionManagementSection.cs
- DbMetaDataColumnNames.cs
- ClientConfigurationSystem.cs
- DependencyProperty.cs
- ValidatorCompatibilityHelper.cs
- ClientSettingsStore.cs
- Vector3DValueSerializer.cs
- ClientSettingsSection.cs
- EdgeModeValidation.cs
- ProfessionalColors.cs
- DataServiceStreamProviderWrapper.cs
- CorrelationToken.cs
- DbProviderManifest.cs
- DesignConnectionCollection.cs
- MetadataException.cs
- OneToOneMappingSerializer.cs
- ScaleTransform.cs
- BitmapMetadataBlob.cs
- SoapSchemaExporter.cs
- Registry.cs
- BindingBase.cs
- ProcessProtocolHandler.cs
- DataViewManager.cs
- XmlTypeAttribute.cs
- IsolatedStoragePermission.cs
- ErrorTableItemStyle.cs
- WebServiceResponse.cs
- TemplateColumn.cs
- RegionInfo.cs
- DesignerSerializationOptionsAttribute.cs
- ListBoxItem.cs
- Literal.cs
- DataRelation.cs
- EventPrivateKey.cs
- ButtonBaseAdapter.cs
- SchemaImporterExtensionElement.cs
- COAUTHIDENTITY.cs
- FacetDescription.cs
- TheQuery.cs
- DataSourceControl.cs
- TaskFormBase.cs
- InternalConfigEventArgs.cs
- TypeElement.cs
- Light.cs
- printdlgexmarshaler.cs
- CodeMethodInvokeExpression.cs
- UInt32Storage.cs
- WorkflowOwnershipException.cs
- CannotUnloadAppDomainException.cs
- DesignerDeviceConfig.cs
- WindowsSecurityTokenAuthenticator.cs
- SecurityTokenParametersEnumerable.cs
- MimeTypeAttribute.cs
- RealizedColumnsBlock.cs
- ToolStripStatusLabel.cs
- PrintControllerWithStatusDialog.cs
- OutgoingWebRequestContext.cs
- ExpressionBinding.cs
- ColorTranslator.cs
- IdentityModelStringsVersion1.cs
- PasswordBoxAutomationPeer.cs
- DocumentPageTextView.cs
- DeclarativeCatalogPart.cs
- CallbackCorrelationInitializer.cs
- URLMembershipCondition.cs
- PriorityItem.cs
- MapPathBasedVirtualPathProvider.cs
- ToolStripRenderer.cs
- CookieProtection.cs
- PageSettings.cs
- ToolStripRenderer.cs
- DocumentPageTextView.cs
- ListItemCollection.cs
- ErrorFormatterPage.cs
- CapabilitiesSection.cs
- DataGridColumnCollection.cs