Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / Configuration / ConfigXmlComment.cs / 1305376 / 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
- RequestBringIntoViewEventArgs.cs
- WaitHandleCannotBeOpenedException.cs
- ControlCollection.cs
- DockPanel.cs
- StylusEditingBehavior.cs
- TraceSection.cs
- Substitution.cs
- Dictionary.cs
- WebControlToolBoxItem.cs
- AppSettingsExpressionBuilder.cs
- HandleDictionary.cs
- QilLiteral.cs
- LineGeometry.cs
- PasswordTextContainer.cs
- SignatureToken.cs
- CodeNamespaceImport.cs
- AlternateView.cs
- ISFTagAndGuidCache.cs
- PropertyCollection.cs
- TempFiles.cs
- designeractionbehavior.cs
- ContextMenu.cs
- TraceContext.cs
- EncryptedData.cs
- Typography.cs
- ExternalException.cs
- typedescriptorpermissionattribute.cs
- PrinterUnitConvert.cs
- NativeMethods.cs
- DependencyPropertyKind.cs
- DataGridPagingPage.cs
- SpotLight.cs
- ConfigurationManagerInternalFactory.cs
- SqlMultiplexer.cs
- CharAnimationBase.cs
- SafePEFileHandle.cs
- BitmapDownload.cs
- RefreshInfo.cs
- MemberHolder.cs
- ObjectContext.cs
- EmptyStringExpandableObjectConverter.cs
- SecurityContextTokenCache.cs
- DataGridViewCellStateChangedEventArgs.cs
- LocalBuilder.cs
- FocusTracker.cs
- StringFormat.cs
- WindowsTab.cs
- WindowHideOrCloseTracker.cs
- BrushMappingModeValidation.cs
- SqlClientWrapperSmiStream.cs
- DataSourceViewSchemaConverter.cs
- TextRunTypographyProperties.cs
- VarInfo.cs
- ClientSponsor.cs
- XhtmlBasicPageAdapter.cs
- ElementNotAvailableException.cs
- Visual3DCollection.cs
- AuthorizationRuleCollection.cs
- ListItemCollection.cs
- ProxyGenerator.cs
- IisHelper.cs
- MDIClient.cs
- GifBitmapEncoder.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- RNGCryptoServiceProvider.cs
- ViewCellSlot.cs
- Stack.cs
- DBConnectionString.cs
- EndpointBehaviorElement.cs
- InfoCardAsymmetricCrypto.cs
- CryptoProvider.cs
- CustomAttribute.cs
- SqlTransaction.cs
- ThousandthOfEmRealDoubles.cs
- SiteMapPath.cs
- TypeToken.cs
- InternalSafeNativeMethods.cs
- ToolBarPanel.cs
- PersonalizationStateQuery.cs
- SoapAttributes.cs
- XmlnsDefinitionAttribute.cs
- HScrollProperties.cs
- Serializer.cs
- ServiceNameCollection.cs
- PropertyDescriptors.cs
- SpStreamWrapper.cs
- AssociationSet.cs
- RenderTargetBitmap.cs
- ExtendedPropertiesHandler.cs
- storepermission.cs
- ExceptionDetail.cs
- NumericExpr.cs
- SnapshotChangeTrackingStrategy.cs
- CompatibleIComparer.cs
- AsymmetricKeyExchangeDeformatter.cs
- SafeRightsManagementHandle.cs
- RegistryPermission.cs
- SQLDecimalStorage.cs
- ColumnCollection.cs
- WmlValidatorAdapter.cs