Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- XPathException.cs
- HTTPAPI_VERSION.cs
- SqlDataRecord.cs
- MimeMultiPart.cs
- FindRequestContext.cs
- WindowsListView.cs
- XmlRawWriter.cs
- PermissionSetTriple.cs
- TrustSection.cs
- DiscreteKeyFrames.cs
- ShaperBuffers.cs
- RpcAsyncResult.cs
- SSmlParser.cs
- LowerCaseStringConverter.cs
- ProgressBar.cs
- AppDomain.cs
- TemplateEditingFrame.cs
- ControlCollection.cs
- ProxyWebPartManagerDesigner.cs
- XmlSecureResolver.cs
- PropertyChangeTracker.cs
- CurrentChangingEventArgs.cs
- DataObjectFieldAttribute.cs
- AggregateException.cs
- DataGridViewCheckBoxCell.cs
- DataContext.cs
- ToolStripItemClickedEventArgs.cs
- ParentUndoUnit.cs
- TransactionFlowElement.cs
- MimeWriter.cs
- RTLAwareMessageBox.cs
- FrameworkPropertyMetadata.cs
- diagnosticsswitches.cs
- CqlParser.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- SplitContainerDesigner.cs
- ComboBox.cs
- _TimerThread.cs
- ClientSideProviderDescription.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- ProfileSettingsCollection.cs
- ProgressChangedEventArgs.cs
- ThemeInfoAttribute.cs
- IsolatedStorageFile.cs
- DesignBindingPropertyDescriptor.cs
- Main.cs
- DataKey.cs
- XmlIterators.cs
- EventsTab.cs
- ProcessProtocolHandler.cs
- InstanceKeyNotReadyException.cs
- BitmapFrameDecode.cs
- MissingSatelliteAssemblyException.cs
- MatrixTransform3D.cs
- URLIdentityPermission.cs
- SqlClientFactory.cs
- webeventbuffer.cs
- SynchronizedInputProviderWrapper.cs
- UIElementParagraph.cs
- GeometryCombineModeValidation.cs
- SafeViewOfFileHandle.cs
- ModifierKeysValueSerializer.cs
- FilterEventArgs.cs
- NeutralResourcesLanguageAttribute.cs
- handlecollector.cs
- ToolStripMenuItem.cs
- UriSchemeKeyedCollection.cs
- DataSourceGroupCollection.cs
- Control.cs
- DataServiceResponse.cs
- DataBindingExpressionBuilder.cs
- TaskScheduler.cs
- SignatureGenerator.cs
- UrlMappingsSection.cs
- _HelperAsyncResults.cs
- TCEAdapterGenerator.cs
- ThreadAttributes.cs
- EncryptedReference.cs
- HttpValueCollection.cs
- SHA512Managed.cs
- AncillaryOps.cs
- StickyNoteContentControl.cs
- TraceContextEventArgs.cs
- TableItemStyle.cs
- ScriptBehaviorDescriptor.cs
- RootNamespaceAttribute.cs
- SystemWebCachingSectionGroup.cs
- XmlChildEnumerator.cs
- PermissionRequestEvidence.cs
- OverflowException.cs
- AndCondition.cs
- SmiEventStream.cs
- PenThreadPool.cs
- ByteFacetDescriptionElement.cs
- Figure.cs
- ListViewGroupConverter.cs
- XmlElement.cs
- FacetDescription.cs
- WindowsFormsHelpers.cs
- BinaryUtilClasses.cs