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
- CellParaClient.cs
- TrustLevelCollection.cs
- ArraySet.cs
- XmlTextReaderImplHelpers.cs
- GeneralTransform3DGroup.cs
- UnmanagedHandle.cs
- DeviceSpecificChoice.cs
- CompleteWizardStep.cs
- HiddenFieldPageStatePersister.cs
- AutoResizedEvent.cs
- SHA256Cng.cs
- VectorAnimationBase.cs
- TextPointer.cs
- InspectionWorker.cs
- MethodExpression.cs
- AddInProcess.cs
- SqlDataSourceFilteringEventArgs.cs
- MailWriter.cs
- XmlSchemaAttributeGroupRef.cs
- ServicePerformanceCounters.cs
- ChangeTracker.cs
- DrawingCollection.cs
- ServiceNotStartedException.cs
- FastPropertyAccessor.cs
- ProgressBar.cs
- XsltException.cs
- StylusDownEventArgs.cs
- ApplicationFileCodeDomTreeGenerator.cs
- WorkflowPrinting.cs
- DependsOnAttribute.cs
- AuthStoreRoleProvider.cs
- DetailsViewModeEventArgs.cs
- RecordManager.cs
- WebBaseEventKeyComparer.cs
- HtmlShim.cs
- ContextInformation.cs
- BitmapVisualManager.cs
- DataGridViewRowEventArgs.cs
- DecoderFallbackWithFailureFlag.cs
- DataControlImageButton.cs
- OneWayElement.cs
- DesignerDataSourceView.cs
- PerspectiveCamera.cs
- ExceptionList.cs
- TextFormatter.cs
- CultureSpecificCharacterBufferRange.cs
- InputDevice.cs
- BitmapPalettes.cs
- TemplateParser.cs
- SimpleLine.cs
- AggregationMinMaxHelpers.cs
- MemberPath.cs
- DSACryptoServiceProvider.cs
- CharacterBufferReference.cs
- AdapterDictionary.cs
- SchemaImporter.cs
- ListViewSortEventArgs.cs
- SoapIncludeAttribute.cs
- CellTreeNodeVisitors.cs
- SamlAttribute.cs
- Imaging.cs
- DataGridViewRowPostPaintEventArgs.cs
- EntityDataSourceContainerNameItem.cs
- RemotingServices.cs
- NominalTypeEliminator.cs
- EditCommandColumn.cs
- SqlGatherProducedAliases.cs
- ColumnHeaderConverter.cs
- FontResourceCache.cs
- XmlTextReaderImplHelpers.cs
- StringConverter.cs
- TreeNodeBinding.cs
- DispatcherHooks.cs
- HtmlElementCollection.cs
- SamlAssertion.cs
- precedingsibling.cs
- FormViewCommandEventArgs.cs
- AspCompat.cs
- ProxyFragment.cs
- ToolboxItemFilterAttribute.cs
- OwnerDrawPropertyBag.cs
- AccessViolationException.cs
- ConstrainedDataObject.cs
- MemoryFailPoint.cs
- MetadataPropertyAttribute.cs
- HttpPostedFileBase.cs
- CodeExpressionStatement.cs
- XhtmlBasicSelectionListAdapter.cs
- Verify.cs
- connectionpool.cs
- BinaryReader.cs
- CanExpandCollapseAllConverter.cs
- ViewBase.cs
- EdmItemCollection.OcAssemblyCache.cs
- Transform3DCollection.cs
- HttpRequestCacheValidator.cs
- ReachPageContentCollectionSerializer.cs
- DiscriminatorMap.cs
- ComboBoxItem.cs
- PointValueSerializer.cs