Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Sys / 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
- Rotation3DAnimationBase.cs
- PagedControl.cs
- StorageBasedPackageProperties.cs
- EntityCommandExecutionException.cs
- AdPostCacheSubstitution.cs
- ControlDesignerState.cs
- QueryReaderSettings.cs
- MediaPlayerState.cs
- AssemblyBuilderData.cs
- Transform.cs
- MenuEventArgs.cs
- TextServicesDisplayAttribute.cs
- SegmentTree.cs
- PermissionAttributes.cs
- TreeNodeBindingCollection.cs
- NamedPipeProcessProtocolHandler.cs
- UserPrincipalNameElement.cs
- ToolboxCategory.cs
- TypeUnloadedException.cs
- PagesChangedEventArgs.cs
- RuleSetDialog.Designer.cs
- SqlConnectionManager.cs
- HtmlElementErrorEventArgs.cs
- SystemNetworkInterface.cs
- SqlEnums.cs
- configsystem.cs
- CheckBoxStandardAdapter.cs
- CqlWriter.cs
- TraceContextEventArgs.cs
- Normalizer.cs
- SrgsDocumentParser.cs
- BooleanAnimationUsingKeyFrames.cs
- DataServiceQueryOfT.cs
- WorkerRequest.cs
- DataServiceResponse.cs
- TextElementEnumerator.cs
- ResourceReader.cs
- PhysicalAddress.cs
- NameNode.cs
- KnownTypes.cs
- LogWriteRestartAreaAsyncResult.cs
- RegexTree.cs
- DataErrorValidationRule.cs
- updateconfighost.cs
- DirectoryRedirect.cs
- ComponentFactoryHelpers.cs
- PerformanceCountersElement.cs
- SafeWaitHandle.cs
- bindurihelper.cs
- OuterGlowBitmapEffect.cs
- JoinTreeNode.cs
- RuntimeWrappedException.cs
- SystemDiagnosticsSection.cs
- HiddenFieldPageStatePersister.cs
- Brushes.cs
- AddInController.cs
- TemplateManager.cs
- BindingMAnagerBase.cs
- XmlSchemaAttribute.cs
- TableRowCollection.cs
- CodeDOMUtility.cs
- WorkflowMessageEventHandler.cs
- _NetRes.cs
- XMLSchema.cs
- MenuItem.cs
- LabelEditEvent.cs
- ToolBar.cs
- DesignerProperties.cs
- GregorianCalendarHelper.cs
- Viewport3DVisual.cs
- Mouse.cs
- NotFiniteNumberException.cs
- XPathDescendantIterator.cs
- TextBreakpoint.cs
- SpellerInterop.cs
- URI.cs
- ListViewGroup.cs
- DoubleAnimationBase.cs
- initElementDictionary.cs
- PolyBezierSegment.cs
- ButtonBase.cs
- FileSystemEnumerable.cs
- RpcResponse.cs
- TypeSystem.cs
- _LoggingObject.cs
- HashMembershipCondition.cs
- FileNotFoundException.cs
- ToolStripDropDown.cs
- ComponentConverter.cs
- UnmanagedMemoryStream.cs
- ClrPerspective.cs
- XDRSchema.cs
- DispatcherExceptionFilterEventArgs.cs
- WasNotInstalledException.cs
- TypeUsage.cs
- GridViewRowEventArgs.cs
- ThreadStateException.cs
- TreeIterator.cs
- BasicBrowserDialog.designer.cs
- WebContext.cs