Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Sys / System / Configuration / ConfigXmlText.cs / 1 / ConfigXmlText.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 ConfigXmlText : XmlText, IConfigErrorInfo { int _line; string _filename; public ConfigXmlText( string filename, int line, string strData, XmlDocument doc ) : base( strData, 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); ConfigXmlText clone = cloneNode as ConfigXmlText; 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 ConfigXmlText : XmlText, IConfigErrorInfo { int _line; string _filename; public ConfigXmlText( string filename, int line, string strData, XmlDocument doc ) : base( strData, 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); ConfigXmlText clone = cloneNode as ConfigXmlText; 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
- PrimitiveSchema.cs
- BitmapEffectDrawingContent.cs
- Queue.cs
- CryptographicAttribute.cs
- ToolStripOverflow.cs
- NavigationService.cs
- DataBindingCollectionEditor.cs
- AvtEvent.cs
- OrderingInfo.cs
- ProfilePropertySettingsCollection.cs
- ListViewGroupCollectionEditor.cs
- FloaterParagraph.cs
- ExternalDataExchangeService.cs
- RadioButtonBaseAdapter.cs
- ButtonPopupAdapter.cs
- RequestCachePolicyConverter.cs
- CompressionTransform.cs
- WebPartVerb.cs
- ColorContext.cs
- RepeatButton.cs
- MappingException.cs
- XmlArrayItemAttributes.cs
- DataObjectSettingDataEventArgs.cs
- RadioButtonRenderer.cs
- CustomValidator.cs
- GridViewHeaderRowPresenter.cs
- WebControlsSection.cs
- ObsoleteAttribute.cs
- TemplateApplicationHelper.cs
- QueryOutputWriter.cs
- X509CertificateCollection.cs
- ContentWrapperAttribute.cs
- XmlObjectSerializerContext.cs
- ListBoxAutomationPeer.cs
- DocumentEventArgs.cs
- DataGridViewSortCompareEventArgs.cs
- MiniParameterInfo.cs
- KeyGestureConverter.cs
- Literal.cs
- SqlBooleanMismatchVisitor.cs
- DataGridPageChangedEventArgs.cs
- MobileControlBuilder.cs
- DeferredRunTextReference.cs
- DeferredElementTreeState.cs
- RuntimeWrappedException.cs
- Asn1IntegerConverter.cs
- CompiledXpathExpr.cs
- MetadataArtifactLoaderComposite.cs
- TextBox.cs
- UInt32Storage.cs
- InternalDispatchObject.cs
- EventLogPermissionEntryCollection.cs
- MultilineStringEditor.cs
- CreatingCookieEventArgs.cs
- Timer.cs
- StickyNoteHelper.cs
- ToolBarTray.cs
- FolderBrowserDialogDesigner.cs
- SimpleMailWebEventProvider.cs
- WebPartDesigner.cs
- TriggerBase.cs
- CallbackException.cs
- FieldBuilder.cs
- ImageListStreamer.cs
- CodeConstructor.cs
- FontFaceLayoutInfo.cs
- GeneralTransformGroup.cs
- TreeNodeClickEventArgs.cs
- EnterpriseServicesHelper.cs
- EventArgs.cs
- MouseActionValueSerializer.cs
- PixelFormat.cs
- ISCIIEncoding.cs
- OpenTypeLayout.cs
- Literal.cs
- NotConverter.cs
- BreakRecordTable.cs
- HtmlInputReset.cs
- BookmarkScopeManager.cs
- HtmlInputHidden.cs
- DataRowCollection.cs
- TextSpan.cs
- BinaryObjectInfo.cs
- hresults.cs
- _CacheStreams.cs
- SessionStateSection.cs
- MessageQueuePermission.cs
- ImageMapEventArgs.cs
- ExtractedStateEntry.cs
- OleDbParameterCollection.cs
- DataMisalignedException.cs
- UpdateException.cs
- ControlBindingsCollection.cs
- UpdateRecord.cs
- PropertyReference.cs
- ControlCachePolicy.cs
- CompilerHelpers.cs
- AttachedPropertyInfo.cs
- MemberDescriptor.cs
- SqlDataSourceCache.cs