Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- TablePattern.cs
- WindowsRichEdit.cs
- CallSiteBinder.cs
- XmlNodeReader.cs
- Popup.cs
- DataObjectCopyingEventArgs.cs
- ObjectItemCollection.cs
- UnsafeNativeMethods.cs
- StylusPointProperties.cs
- StickyNote.cs
- StackOverflowException.cs
- TimeSpanValidator.cs
- CompositeFontInfo.cs
- smtpconnection.cs
- MachineKeyValidationConverter.cs
- FunctionMappingTranslator.cs
- SqlBulkCopy.cs
- Size3DConverter.cs
- TextCompositionManager.cs
- Rotation3DAnimationBase.cs
- PassportAuthentication.cs
- FileDialogCustomPlace.cs
- TrackingParticipant.cs
- DataRelationCollection.cs
- HScrollBar.cs
- ActivityDesignerHelper.cs
- StorageRoot.cs
- XmlPreloadedResolver.cs
- AddInServer.cs
- SafeHGlobalHandleCritical.cs
- VBCodeProvider.cs
- QilIterator.cs
- OutputWindow.cs
- ObjectDataSourceDisposingEventArgs.cs
- SemanticAnalyzer.cs
- XmlUtil.cs
- WindowsAuthenticationModule.cs
- MimeParameter.cs
- DynamicMethod.cs
- AppLevelCompilationSectionCache.cs
- DataPager.cs
- SourceFileBuildProvider.cs
- ObjectDataSourceView.cs
- WebResourceAttribute.cs
- ArrayItemValue.cs
- SafeLocalMemHandle.cs
- DataSetUtil.cs
- SqlDataSourceFilteringEventArgs.cs
- SmtpFailedRecipientsException.cs
- Merger.cs
- Graphics.cs
- NameSpaceExtractor.cs
- FunctionImportElement.cs
- ComNativeDescriptor.cs
- HandleRef.cs
- CodeRemoveEventStatement.cs
- QuadraticBezierSegment.cs
- CalendarDateRange.cs
- PhonemeConverter.cs
- PassportPrincipal.cs
- CodeBinaryOperatorExpression.cs
- DesignerAutoFormat.cs
- ControlAdapter.cs
- HtmlDocument.cs
- ToolBarButton.cs
- CodeEntryPointMethod.cs
- TextEffectCollection.cs
- InplaceBitmapMetadataWriter.cs
- PageParser.cs
- DataReceivedEventArgs.cs
- DrawingDrawingContext.cs
- WindowsGraphics2.cs
- dsa.cs
- IntegerValidatorAttribute.cs
- EmptyStringExpandableObjectConverter.cs
- WindowsGraphics.cs
- WindowShowOrOpenTracker.cs
- DetectRunnableInstancesTask.cs
- PackageDocument.cs
- Exception.cs
- UInt32Converter.cs
- IndentedWriter.cs
- HtmlElementCollection.cs
- Vector3D.cs
- TemplatedWizardStep.cs
- SingleSelectRootGridEntry.cs
- XmlCharType.cs
- MailDefinitionBodyFileNameEditor.cs
- shaper.cs
- AmbiguousMatchException.cs
- FreezableOperations.cs
- SmtpFailedRecipientException.cs
- DataGridViewCell.cs
- BitmapEncoder.cs
- SiteMapNodeItemEventArgs.cs
- ValueOfAction.cs
- GlyphRunDrawing.cs
- TagNameToTypeMapper.cs
- GeneralEndpointIdentity.cs
- DbDataAdapter.cs