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
- BinaryConverter.cs
- SecurityPolicySection.cs
- PartialList.cs
- OledbConnectionStringbuilder.cs
- TargetConverter.cs
- TypeConverterHelper.cs
- Drawing.cs
- CompiledQueryCacheKey.cs
- Interlocked.cs
- IgnorePropertiesAttribute.cs
- ClientSponsor.cs
- wmiprovider.cs
- EntityDataSourceDesignerHelper.cs
- DetailsViewPageEventArgs.cs
- ControlCollection.cs
- TrackingParameters.cs
- SqlProviderServices.cs
- TypeDescriptionProviderAttribute.cs
- Exception.cs
- SByteConverter.cs
- StorageSetMapping.cs
- PropertyTabChangedEvent.cs
- DPCustomTypeDescriptor.cs
- SessionParameter.cs
- OrCondition.cs
- WebPartUserCapability.cs
- PackagingUtilities.cs
- EntityDataSourceWizardForm.cs
- ScanQueryOperator.cs
- EmptyEnumerator.cs
- AuthorizationSection.cs
- BindingContext.cs
- UrlMapping.cs
- TypefaceCollection.cs
- ACE.cs
- SplashScreen.cs
- Crypto.cs
- HttpApplicationFactory.cs
- XmlSerializerNamespaces.cs
- WebReferenceCollection.cs
- PersonalizationState.cs
- ActivityBindForm.Designer.cs
- SingleSelectRootGridEntry.cs
- BooleanToVisibilityConverter.cs
- MobileListItem.cs
- WebBrowserPermission.cs
- ChangeDirector.cs
- GifBitmapDecoder.cs
- Crc32Helper.cs
- Path.cs
- CacheSection.cs
- SHA256Managed.cs
- IsolatedStorageFileStream.cs
- XmlSchemaGroup.cs
- DataRow.cs
- RelationshipSet.cs
- XmlCountingReader.cs
- AutomationProperty.cs
- EntityClassGenerator.cs
- CodeNamespaceImport.cs
- DataGridViewColumnEventArgs.cs
- PropertyChangeTracker.cs
- WrapPanel.cs
- PieceDirectory.cs
- NonDualMessageSecurityOverHttp.cs
- NavigationExpr.cs
- WriteableOnDemandStream.cs
- PerfCounters.cs
- HttpServerUtilityWrapper.cs
- ErrorLog.cs
- ScriptMethodAttribute.cs
- Selector.cs
- VerificationException.cs
- DecoderNLS.cs
- ColumnMapCopier.cs
- MetadataArtifactLoaderCompositeResource.cs
- TagNameToTypeMapper.cs
- ToolStripTextBox.cs
- TimeEnumHelper.cs
- StyleModeStack.cs
- UrlAuthorizationModule.cs
- AuthenticatedStream.cs
- XPathCompileException.cs
- DataPager.cs
- InstanceKeyNotReadyException.cs
- GridViewColumnCollection.cs
- DataGridAutomationPeer.cs
- RequestContext.cs
- GridViewColumnCollection.cs
- ResourceFallbackManager.cs
- IPEndPoint.cs
- ProxyElement.cs
- Sorting.cs
- GridErrorDlg.cs
- DebuggerAttributes.cs
- DataColumnCollection.cs
- InvokeHandlers.cs
- GcSettings.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- GridItemPattern.cs