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
- XmlILConstructAnalyzer.cs
- MdImport.cs
- RowToFieldTransformer.cs
- SHA1CryptoServiceProvider.cs
- CodeTypeParameterCollection.cs
- ViewBox.cs
- SystemMulticastIPAddressInformation.cs
- CodeRemoveEventStatement.cs
- WebPartDisplayModeEventArgs.cs
- ObjectTag.cs
- TaskSchedulerException.cs
- _AcceptOverlappedAsyncResult.cs
- ObjectHelper.cs
- TypeDescriptorFilterService.cs
- ElementHostAutomationPeer.cs
- SmtpReplyReaderFactory.cs
- Addressing.cs
- ConfigXmlComment.cs
- CodeActivityMetadata.cs
- ToolStripItemClickedEventArgs.cs
- MemberDescriptor.cs
- Latin1Encoding.cs
- ReversePositionQuery.cs
- ReadOnlyHierarchicalDataSource.cs
- TabControlCancelEvent.cs
- WorkflowRuntimeServiceElement.cs
- DbExpressionVisitor.cs
- FieldBuilder.cs
- MD5HashHelper.cs
- Int64AnimationUsingKeyFrames.cs
- XamlClipboardData.cs
- RegisteredHiddenField.cs
- HyperLinkColumn.cs
- TimeIntervalCollection.cs
- GifBitmapDecoder.cs
- _LocalDataStore.cs
- DataGridViewCellParsingEventArgs.cs
- CompositeTypefaceMetrics.cs
- metadatamappinghashervisitor.cs
- SchemaImporterExtension.cs
- DependencyObjectPropertyDescriptor.cs
- PrintEvent.cs
- KeyGestureValueSerializer.cs
- DbConnectionClosed.cs
- ErrorBehavior.cs
- FixedFlowMap.cs
- AppDomainCompilerProxy.cs
- SamlAssertionKeyIdentifierClause.cs
- wmiprovider.cs
- serverconfig.cs
- UIHelper.cs
- Msec.cs
- TypedTableHandler.cs
- MenuEventArgs.cs
- AnnouncementService.cs
- SelectionWordBreaker.cs
- DrawingServices.cs
- CharUnicodeInfo.cs
- ImportContext.cs
- HttpListenerResponse.cs
- SiteMapNodeCollection.cs
- AssemblyAssociatedContentFileAttribute.cs
- latinshape.cs
- DataListCommandEventArgs.cs
- BehaviorDragDropEventArgs.cs
- ShaderEffect.cs
- DataViewManagerListItemTypeDescriptor.cs
- PostBackOptions.cs
- ConcurrentBag.cs
- ZipFileInfo.cs
- InvalidComObjectException.cs
- LocatorBase.cs
- BindUriHelper.cs
- ToolStripSeparatorRenderEventArgs.cs
- ProviderConnectionPoint.cs
- InfoCardRSACryptoProvider.cs
- FormConverter.cs
- Int64Converter.cs
- GridErrorDlg.cs
- GridViewDeleteEventArgs.cs
- ModelVisual3D.cs
- ExceptionHandlerDesigner.cs
- HuffmanTree.cs
- Win32Exception.cs
- OleDbConnection.cs
- ContainerParaClient.cs
- PathSegment.cs
- SequenceDesigner.xaml.cs
- NamespaceDecl.cs
- FontStyles.cs
- BuilderPropertyEntry.cs
- ErrorLog.cs
- OleDbPropertySetGuid.cs
- SystemFonts.cs
- FilterElement.cs
- XmlEncoding.cs
- SequenceDesigner.cs
- TableDesigner.cs
- LassoHelper.cs
- __TransparentProxy.cs