Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- XmlAttributeAttribute.cs
- WriteStateInfoBase.cs
- XmlSortKeyAccumulator.cs
- WindowsIPAddress.cs
- RangeValuePattern.cs
- EventLogPropertySelector.cs
- sqlcontext.cs
- StackOverflowException.cs
- PseudoWebRequest.cs
- NativeMethods.cs
- InternalConfigHost.cs
- GridViewItemAutomationPeer.cs
- MaskDesignerDialog.cs
- SessionSwitchEventArgs.cs
- ExternalException.cs
- HtmlTextArea.cs
- RSAOAEPKeyExchangeFormatter.cs
- WebServiceAttribute.cs
- GroupBoxAutomationPeer.cs
- EditingScope.cs
- RoleManagerEventArgs.cs
- DataColumn.cs
- HijriCalendar.cs
- DataGridViewDataConnection.cs
- DebuggerService.cs
- XPathException.cs
- GeneratedContractType.cs
- CellQuery.cs
- LogReserveAndAppendState.cs
- HuffmanTree.cs
- TypeConstant.cs
- SafeRightsManagementHandle.cs
- SafeSystemMetrics.cs
- StringValidator.cs
- QueryRewriter.cs
- DetailsViewRowCollection.cs
- CipherData.cs
- EmptyImpersonationContext.cs
- ConsoleKeyInfo.cs
- ConstraintEnumerator.cs
- TypeGeneratedEventArgs.cs
- TableItemPatternIdentifiers.cs
- MergePropertyDescriptor.cs
- ScopelessEnumAttribute.cs
- AggregateException.cs
- DefaultPrintController.cs
- JobPageOrder.cs
- ObsoleteAttribute.cs
- XamlBrushSerializer.cs
- ConfigurationStrings.cs
- RawAppCommandInputReport.cs
- VisualTarget.cs
- GridViewDeletedEventArgs.cs
- TrackPoint.cs
- ArrayWithOffset.cs
- MemoryResponseElement.cs
- XmlSchemaProviderAttribute.cs
- DataGridTableCollection.cs
- CompositeTypefaceMetrics.cs
- WebPartDisplayModeEventArgs.cs
- UniformGrid.cs
- WebConfigurationManager.cs
- SymLanguageType.cs
- DtdParser.cs
- ValidationErrorEventArgs.cs
- ValueChangedEventManager.cs
- HttpCacheVaryByContentEncodings.cs
- IERequestCache.cs
- FixedNode.cs
- SQLInt32.cs
- PointAnimationUsingPath.cs
- PartitionerStatic.cs
- SerializationSectionGroup.cs
- MultiAsyncResult.cs
- SpStreamWrapper.cs
- WinEventTracker.cs
- MessageBox.cs
- WebPartExportVerb.cs
- xamlnodes.cs
- DataGridGeneralPage.cs
- ScaleTransform3D.cs
- StringAttributeCollection.cs
- ValueProviderWrapper.cs
- SqlCaseSimplifier.cs
- Rect.cs
- DocumentGridPage.cs
- BitmapEffectInput.cs
- shaper.cs
- ClientBuildManagerCallback.cs
- StyleXamlParser.cs
- Bold.cs
- OdbcDataAdapter.cs
- HitTestParameters.cs
- NotSupportedException.cs
- MemoryFailPoint.cs
- LayoutDump.cs
- DockPanel.cs
- ServerProtocol.cs
- SineEase.cs
- DynamicDataRouteHandler.cs