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
- XPathNodeInfoAtom.cs
- XmlSchemaAttributeGroupRef.cs
- InfoCardCryptoHelper.cs
- SqlNamer.cs
- AppLevelCompilationSectionCache.cs
- DataGridViewRowCancelEventArgs.cs
- DeploymentSectionCache.cs
- RichTextBoxAutomationPeer.cs
- Size3D.cs
- D3DImage.cs
- SHA384Managed.cs
- ToolStripPanelRenderEventArgs.cs
- ConfigurationCollectionAttribute.cs
- PointLightBase.cs
- PathSegmentCollection.cs
- WizardStepBase.cs
- QueryContext.cs
- XmlSchemaAttribute.cs
- ManagedWndProcTracker.cs
- FilterInvalidBodyAccessException.cs
- LabelExpression.cs
- TextServicesDisplayAttribute.cs
- DrawingContextDrawingContextWalker.cs
- NativeMethods.cs
- Pen.cs
- TypedTableBase.cs
- EncryptedHeader.cs
- MD5CryptoServiceProvider.cs
- ToolboxItemWrapper.cs
- AlternateViewCollection.cs
- ListView.cs
- DynamicExpression.cs
- XsltException.cs
- VisualBasicHelper.cs
- EdmItemError.cs
- DataRecordInfo.cs
- EntitySqlQueryCacheKey.cs
- PathGradientBrush.cs
- IProducerConsumerCollection.cs
- ActivityWithResultValueSerializer.cs
- MethodAccessException.cs
- NullReferenceException.cs
- ServiceContractViewControl.Designer.cs
- DescendantQuery.cs
- Int64AnimationUsingKeyFrames.cs
- Aggregates.cs
- RootAction.cs
- Label.cs
- Fonts.cs
- PointConverter.cs
- PointCollection.cs
- XmlDocumentSurrogate.cs
- XmlDigitalSignatureProcessor.cs
- QilReference.cs
- ReadWriteObjectLock.cs
- BasePropertyDescriptor.cs
- SqlException.cs
- EarlyBoundInfo.cs
- ProgressBarHighlightConverter.cs
- WebPartCollection.cs
- Overlapped.cs
- ListSortDescription.cs
- MTConfigUtil.cs
- _SslSessionsCache.cs
- ApplicationBuildProvider.cs
- XPathParser.cs
- TimelineClockCollection.cs
- SafeNativeMethodsOther.cs
- NumericUpDown.cs
- OleDbFactory.cs
- TextContainerHelper.cs
- TriggerCollection.cs
- TextEditor.cs
- InstanceDataCollection.cs
- TraceContext.cs
- TargetControlTypeCache.cs
- StringAnimationUsingKeyFrames.cs
- SqlDataSourceStatusEventArgs.cs
- OrderPreservingMergeHelper.cs
- XmlWrappingWriter.cs
- TabletDeviceInfo.cs
- AssertFilter.cs
- DataColumnChangeEvent.cs
- SettingsPropertyIsReadOnlyException.cs
- SevenBitStream.cs
- SymDocumentType.cs
- PtsPage.cs
- CookieParameter.cs
- CommandLibraryHelper.cs
- RemoteWebConfigurationHost.cs
- SecureStringHasher.cs
- VisualTarget.cs
- TransactionFlowBindingElementImporter.cs
- CommonDialog.cs
- RequestDescription.cs
- COSERVERINFO.cs
- QueryReaderSettings.cs
- ProtocolsConfigurationEntry.cs
- PopOutPanel.cs
- ValidationService.cs