Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ModuleBuilder.cs
- WebPartVerb.cs
- RequestSecurityTokenForGetBrowserToken.cs
- HttpCookieCollection.cs
- WindowsTokenRoleProvider.cs
- DependencyProperty.cs
- ShaderRenderModeValidation.cs
- DES.cs
- Pair.cs
- UpdateCommand.cs
- DataServiceCollectionOfT.cs
- PageSetupDialog.cs
- WinEventQueueItem.cs
- EnumerationRangeValidationUtil.cs
- ArgumentsParser.cs
- LinkConverter.cs
- SequentialWorkflowHeaderFooter.cs
- SerialReceived.cs
- Ppl.cs
- QueryableDataSourceEditData.cs
- SqlRowUpdatingEvent.cs
- Binding.cs
- IImplicitResourceProvider.cs
- CommandValueSerializer.cs
- MembershipSection.cs
- ResXFileRef.cs
- KeyedCollection.cs
- NavigationHelper.cs
- WebDisplayNameAttribute.cs
- CodeExporter.cs
- ISFClipboardData.cs
- PrintDialogException.cs
- EntityViewContainer.cs
- SessionKeyExpiredException.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- CachedCompositeFamily.cs
- KeyedPriorityQueue.cs
- XPathBuilder.cs
- FileDataSourceCache.cs
- FormViewInsertedEventArgs.cs
- ResourceDisplayNameAttribute.cs
- LogSwitch.cs
- DynamicDataRoute.cs
- AncestorChangedEventArgs.cs
- HttpCacheVary.cs
- TypedDataSourceCodeGenerator.cs
- PlatformCulture.cs
- DataContractSerializerSection.cs
- DataRowExtensions.cs
- DBSchemaRow.cs
- CreateParams.cs
- TreeNode.cs
- TranslateTransform3D.cs
- HttpProtocolReflector.cs
- ConfigPathUtility.cs
- ServicesUtilities.cs
- DataGridViewCellStyleConverter.cs
- Property.cs
- TextViewBase.cs
- DispatchOperationRuntime.cs
- DesignerActionItem.cs
- RegexRunner.cs
- InkCanvas.cs
- SmiXetterAccessMap.cs
- SchemaImporterExtension.cs
- Rect3DConverter.cs
- WebPartConnectionsCancelVerb.cs
- RawStylusInputCustomData.cs
- Size.cs
- PartBasedPackageProperties.cs
- InvalidEnumArgumentException.cs
- TreeView.cs
- mda.cs
- XamlPointCollectionSerializer.cs
- XPathItem.cs
- BrushValueSerializer.cs
- SqlCachedBuffer.cs
- AnnotationObservableCollection.cs
- TypeSystem.cs
- LocalizableResourceBuilder.cs
- UIHelper.cs
- FrameworkElement.cs
- Roles.cs
- GroupBoxAutomationPeer.cs
- DESCryptoServiceProvider.cs
- TypedRowGenerator.cs
- DeclaredTypeElementCollection.cs
- PerformanceCounterLib.cs
- BufferedWebEventProvider.cs
- RecordBuilder.cs
- AssociationSetEnd.cs
- DocumentXPathNavigator.cs
- _LazyAsyncResult.cs
- ReadOnlyCollectionBase.cs
- _NTAuthentication.cs
- XPathChildIterator.cs
- WindowsRebar.cs
- NativeMethods.cs
- CharKeyFrameCollection.cs
- KernelTypeValidation.cs