Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / 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
- ArraySubsetEnumerator.cs
- LiteralControl.cs
- BamlLocalizableResource.cs
- ToolStripPanelRenderEventArgs.cs
- TabRenderer.cs
- HtmlTable.cs
- SelectionEditingBehavior.cs
- SqlTrackingWorkflowInstance.cs
- DataGridViewSortCompareEventArgs.cs
- XamlDebuggerXmlReader.cs
- TrustSection.cs
- ListView.cs
- DesigntimeLicenseContext.cs
- AccessDataSource.cs
- Effect.cs
- DataSourceHelper.cs
- BindingContext.cs
- adornercollection.cs
- XmlSchemaGroupRef.cs
- ClientConvert.cs
- PrintControllerWithStatusDialog.cs
- TextCharacters.cs
- SortAction.cs
- DataGridParentRows.cs
- DbLambda.cs
- CatalogPart.cs
- RootDesignerSerializerAttribute.cs
- ConnectionOrientedTransportManager.cs
- ThousandthOfEmRealPoints.cs
- ParameterBinding.cs
- XmlElementElement.cs
- SspiWrapper.cs
- ObjectDataSourceSelectingEventArgs.cs
- SqlInternalConnectionTds.cs
- EventEntry.cs
- DataServiceHostFactory.cs
- MeshGeometry3D.cs
- TraceUtils.cs
- BadImageFormatException.cs
- StructuredTypeEmitter.cs
- XmlSchemaParticle.cs
- SecurityCriticalDataForSet.cs
- RelativeSource.cs
- ReadWriteControlDesigner.cs
- String.cs
- TextDecoration.cs
- WebSysDisplayNameAttribute.cs
- AppliesToBehaviorDecisionTable.cs
- BaseAddressElementCollection.cs
- Gdiplus.cs
- NamespaceListProperty.cs
- SqlClientFactory.cs
- StringAnimationBase.cs
- CaseInsensitiveHashCodeProvider.cs
- DiscoveryInnerClientAdhoc11.cs
- InstancePersistenceEvent.cs
- Point3DConverter.cs
- LayoutTableCell.cs
- UserNamePasswordValidator.cs
- XmlDomTextWriter.cs
- SessionChannels.cs
- FillBehavior.cs
- MetadataCacheItem.cs
- SubMenuStyleCollection.cs
- LineProperties.cs
- BaseTemplateBuildProvider.cs
- SQLRoleProvider.cs
- ConstructorNeedsTagAttribute.cs
- ToolBarButtonClickEvent.cs
- CrossAppDomainChannel.cs
- BaseInfoTable.cs
- HwndSourceKeyboardInputSite.cs
- TextBoxView.cs
- X509Certificate2.cs
- TextRenderingModeValidation.cs
- XmlDeclaration.cs
- CacheMode.cs
- HtmlWindowCollection.cs
- HitTestDrawingContextWalker.cs
- ImageSourceValueSerializer.cs
- DataGridTableCollection.cs
- GPPOINTF.cs
- GridViewUpdateEventArgs.cs
- TableDetailsRow.cs
- HtmlEmptyTagControlBuilder.cs
- SimpleRecyclingCache.cs
- DiscreteKeyFrames.cs
- PenThread.cs
- ReachPageContentCollectionSerializerAsync.cs
- ConfigDefinitionUpdates.cs
- Events.cs
- XsltSettings.cs
- ReversePositionQuery.cs
- HttpServerChannel.cs
- SystemIcmpV6Statistics.cs
- MatrixTransform.cs
- XmlSchemaCompilationSettings.cs
- ApplicationHost.cs
- Parser.cs
- BrushConverter.cs