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
- SimpleMailWebEventProvider.cs
- RadioButtonFlatAdapter.cs
- ArraySubsetEnumerator.cs
- FileUpload.cs
- ColorBlend.cs
- SqlDataSourceWizardForm.cs
- XmlIncludeAttribute.cs
- QueryHandler.cs
- ExitEventArgs.cs
- ListViewGroup.cs
- TypeListConverter.cs
- SQLSingleStorage.cs
- RectAnimationUsingKeyFrames.cs
- MarkupCompiler.cs
- ListViewUpdateEventArgs.cs
- TranslateTransform3D.cs
- RsaKeyIdentifierClause.cs
- PopupEventArgs.cs
- DateTimeOffsetAdapter.cs
- _LocalDataStoreMgr.cs
- ListViewInsertEventArgs.cs
- SrgsElementFactory.cs
- ErrorFormatterPage.cs
- SystemColors.cs
- WebException.cs
- ProcessModelSection.cs
- SqlAliasesReferenced.cs
- DbDataAdapter.cs
- MarkedHighlightComponent.cs
- TextTrailingCharacterEllipsis.cs
- StyleModeStack.cs
- CursorInteropHelper.cs
- FusionWrap.cs
- XmlExceptionHelper.cs
- XmlSchemaSimpleContentRestriction.cs
- WebColorConverter.cs
- ExtendedPropertyCollection.cs
- CommandField.cs
- SqlMethodCallConverter.cs
- ColumnPropertiesGroup.cs
- CodeTypeMemberCollection.cs
- LayoutTableCell.cs
- Util.cs
- SqlXmlStorage.cs
- Utils.cs
- RegexFCD.cs
- TransformerInfoCollection.cs
- TypeBrowser.xaml.cs
- ListViewAutomationPeer.cs
- EnvelopedSignatureTransform.cs
- StreamReader.cs
- SchemaContext.cs
- FlowLayout.cs
- SafeTimerHandle.cs
- PropertyValueUIItem.cs
- BoundField.cs
- ListBase.cs
- LocalsItemDescription.cs
- UniformGrid.cs
- XmlChildNodes.cs
- RawStylusInput.cs
- OptimizedTemplateContentHelper.cs
- WebService.cs
- FontFamilyIdentifier.cs
- SecurityTokenRequirement.cs
- DataGridViewHeaderCell.cs
- Array.cs
- TabPage.cs
- Buffer.cs
- FileDialogPermission.cs
- DateTimeSerializationSection.cs
- ExternalFile.cs
- XmlSchemaSet.cs
- PageSetupDialog.cs
- TransformGroup.cs
- ValidationManager.cs
- SmtpReplyReaderFactory.cs
- ModelFactory.cs
- X509WindowsSecurityToken.cs
- ValidationError.cs
- DelimitedListTraceListener.cs
- RunClient.cs
- Visual.cs
- XPathDocument.cs
- TrackingMemoryStream.cs
- AccessDataSource.cs
- Frame.cs
- CultureSpecificStringDictionary.cs
- EntityStoreSchemaFilterEntry.cs
- SqlDataSourceConfigureFilterForm.cs
- ZipIOFileItemStream.cs
- GenerateScriptTypeAttribute.cs
- XmlTextReader.cs
- DropDownList.cs
- SafeViewOfFileHandle.cs
- RoleServiceManager.cs
- XmlSchemaAttributeGroup.cs
- DetailsViewPageEventArgs.cs
- SplineKeyFrames.cs
- TextEditorContextMenu.cs