Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Configuration / 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
- SafeCryptoHandles.cs
- UpdateException.cs
- OpCodes.cs
- PickBranch.cs
- Schema.cs
- SafeIUnknown.cs
- DateTimeOffset.cs
- SecurityHelper.cs
- HtmlInputRadioButton.cs
- NameNode.cs
- ObjectDataSourceView.cs
- MergeLocalizationDirectives.cs
- AnnotationDocumentPaginator.cs
- SyndicationElementExtension.cs
- ContextBase.cs
- XamlValidatingReader.cs
- UpdatePanelControlTrigger.cs
- WindowsListViewItemStartMenu.cs
- CorrelationHandle.cs
- UnmanagedMarshal.cs
- ConstraintConverter.cs
- ScrollBarAutomationPeer.cs
- CheckBoxDesigner.cs
- DataListItemEventArgs.cs
- AliasedSlot.cs
- PeerNameRecord.cs
- AlternateViewCollection.cs
- ConnectionManagementSection.cs
- TimeSpanOrInfiniteConverter.cs
- PrintEvent.cs
- InstalledFontCollection.cs
- AddInActivator.cs
- XsdCachingReader.cs
- MenuEventArgs.cs
- DesignerOptionService.cs
- DataListCommandEventArgs.cs
- Deflater.cs
- UTF8Encoding.cs
- GB18030Encoding.cs
- LabelAutomationPeer.cs
- Scene3D.cs
- ProcessHostConfigUtils.cs
- ToolStripPanelSelectionBehavior.cs
- Statements.cs
- KeySplineConverter.cs
- PartBasedPackageProperties.cs
- SiteMap.cs
- StdRegProviderWrapper.cs
- EventlogProvider.cs
- ClientBuildManager.cs
- TextBox.cs
- TypeInformation.cs
- TreeNodeStyleCollection.cs
- HttpProfileGroupBase.cs
- ColumnReorderedEventArgs.cs
- TraceProvider.cs
- StoreItemCollection.Loader.cs
- ThreadPool.cs
- RouteCollection.cs
- ButtonChrome.cs
- EncodingStreamWrapper.cs
- SqlDataRecord.cs
- WindowsNonControl.cs
- Oid.cs
- DataContext.cs
- DbCommandTree.cs
- TextRange.cs
- XmlDownloadManager.cs
- HtmlFormParameterWriter.cs
- UriSectionReader.cs
- FileEnumerator.cs
- LinearKeyFrames.cs
- XmlQueryType.cs
- UIPropertyMetadata.cs
- Roles.cs
- TypeDependencyAttribute.cs
- CodeArrayCreateExpression.cs
- DataGridRowHeaderAutomationPeer.cs
- FormatVersion.cs
- BitmapCodecInfo.cs
- DataGridViewElement.cs
- TimeoutException.cs
- _NetRes.cs
- UnsafePeerToPeerMethods.cs
- FunctionOverloadResolver.cs
- MessagePropertyAttribute.cs
- RoutedEventConverter.cs
- EncoderBestFitFallback.cs
- RawStylusSystemGestureInputReport.cs
- ClientSettingsProvider.cs
- CompilerGlobalScopeAttribute.cs
- PartialTrustValidationBehavior.cs
- ChunkedMemoryStream.cs
- WindowsAuthenticationEventArgs.cs
- BitmapEncoder.cs
- DefaultObjectMappingItemCollection.cs
- isolationinterop.cs
- BaseTemplateBuildProvider.cs
- MergeFailedEvent.cs
- SByteStorage.cs