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
- RadioButton.cs
- ColorDialog.cs
- XamlInterfaces.cs
- BypassElement.cs
- DiffuseMaterial.cs
- DesignerListAdapter.cs
- NegotiationTokenAuthenticatorState.cs
- TraceLevelStore.cs
- BasePropertyDescriptor.cs
- SafePointer.cs
- WebHeaderCollection.cs
- SqlFunctionAttribute.cs
- NetworkCredential.cs
- DataGridRelationshipRow.cs
- OptimisticConcurrencyException.cs
- MsmqIntegrationInputMessage.cs
- TemplatedAdorner.cs
- ConfigurationElementCollection.cs
- KnownColorTable.cs
- SaveFileDialog.cs
- ErrorWebPart.cs
- ITreeGenerator.cs
- ToolStripMenuItem.cs
- MarkupWriter.cs
- HeaderedItemsControl.cs
- ForceCopyBuildProvider.cs
- TableAdapterManagerNameHandler.cs
- BounceEase.cs
- InvalidDataContractException.cs
- CFStream.cs
- XhtmlTextWriter.cs
- DBDataPermission.cs
- XmlUnspecifiedAttribute.cs
- Span.cs
- XmlSchemaFacet.cs
- WebBrowserProgressChangedEventHandler.cs
- UIElementAutomationPeer.cs
- PiiTraceSource.cs
- TextRangeAdaptor.cs
- Triplet.cs
- SourceChangedEventArgs.cs
- InstanceView.cs
- SecurityException.cs
- DataKey.cs
- QilGenerator.cs
- ButtonBase.cs
- SafeCryptoHandles.cs
- SystemUdpStatistics.cs
- BitmapEffectrendercontext.cs
- SortDescriptionCollection.cs
- TableLayoutColumnStyleCollection.cs
- InternalDispatchObject.cs
- DataKeyArray.cs
- HandlerBase.cs
- MobileListItem.cs
- IsolatedStorage.cs
- GenericWebPart.cs
- CornerRadiusConverter.cs
- FileIOPermission.cs
- CatalogPartCollection.cs
- TypeConstant.cs
- Adorner.cs
- XmlSchemaComplexContentRestriction.cs
- Button.cs
- PerformanceCounterScope.cs
- ProxyFragment.cs
- EdmRelationshipRoleAttribute.cs
- ToolStripPanelCell.cs
- TagMapCollection.cs
- AlphabetConverter.cs
- OrCondition.cs
- SubMenuStyle.cs
- SystemPens.cs
- XmlQueryContext.cs
- ComboBoxHelper.cs
- ListDictionaryInternal.cs
- EmbossBitmapEffect.cs
- TextEffectResolver.cs
- ResourceFallbackManager.cs
- FactoryGenerator.cs
- DataTemplate.cs
- EmbeddedObject.cs
- HTTPNotFoundHandler.cs
- ClientSession.cs
- InkSerializer.cs
- TextEmbeddedObject.cs
- Ipv6Element.cs
- CapabilitiesRule.cs
- HMACMD5.cs
- MinimizableAttributeTypeConverter.cs
- ListCommandEventArgs.cs
- _NestedSingleAsyncResult.cs
- HtmlElementEventArgs.cs
- MULTI_QI.cs
- BrowserCapabilitiesFactory.cs
- Path.cs
- FormsAuthentication.cs
- XLinq.cs
- Control.cs
- AssemblyNameProxy.cs