Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- AlgoModule.cs
- X509Certificate.cs
- StringInfo.cs
- DbConnectionPoolGroupProviderInfo.cs
- DeferredTextReference.cs
- AuthenticationModuleElement.cs
- SectionVisual.cs
- _SSPIWrapper.cs
- DataPagerFieldCollection.cs
- NameValueSectionHandler.cs
- ColumnReorderedEventArgs.cs
- AlternateViewCollection.cs
- TimerEventSubscriptionCollection.cs
- HttpListener.cs
- AliasGenerator.cs
- Stacktrace.cs
- StateFinalizationActivity.cs
- DocobjHost.cs
- SelectionRange.cs
- AbstractSvcMapFileLoader.cs
- UserNameSecurityTokenAuthenticator.cs
- WindowsBrush.cs
- SeverityFilter.cs
- QuaternionConverter.cs
- TableParaClient.cs
- AddInToken.cs
- WebHttpEndpointElement.cs
- Int32CollectionConverter.cs
- DataComponentNameHandler.cs
- AccessKeyManager.cs
- SessionSwitchEventArgs.cs
- SpecialFolderEnumConverter.cs
- ValidationRuleCollection.cs
- WebDescriptionAttribute.cs
- EtwTrace.cs
- AttachInfo.cs
- CacheEntry.cs
- DocumentPageViewAutomationPeer.cs
- MailAddress.cs
- DataGridState.cs
- PixelFormats.cs
- DesignerEventService.cs
- TextFormatterContext.cs
- StrokeNodeEnumerator.cs
- ListDictionary.cs
- TrustManagerMoreInformation.cs
- TextDecorationUnitValidation.cs
- DataGridTextBox.cs
- FileNameEditor.cs
- CompilerScope.cs
- GeometryModel3D.cs
- SimpleApplicationHost.cs
- MetadataSection.cs
- Drawing.cs
- ObjectContext.cs
- DirectionalLight.cs
- TraceSection.cs
- ExtendedPropertyCollection.cs
- SecurityKeyIdentifier.cs
- AsymmetricKeyExchangeDeformatter.cs
- ScriptResourceAttribute.cs
- OutOfProcStateClientManager.cs
- HtmlTitle.cs
- CssClassPropertyAttribute.cs
- SecurityManager.cs
- PolyBezierSegment.cs
- NameValueFileSectionHandler.cs
- DirectoryObjectSecurity.cs
- ScrollChrome.cs
- wgx_exports.cs
- Point4DConverter.cs
- IsolatedStorage.cs
- ImageMetadata.cs
- InvalidWMPVersionException.cs
- ShaderEffect.cs
- RuntimeVariablesExpression.cs
- ApplicationBuildProvider.cs
- ToolStripPanel.cs
- DefaultExpressionVisitor.cs
- CodeGroup.cs
- DynamicRouteExpression.cs
- Win32Exception.cs
- DataGridCommandEventArgs.cs
- ZipIOLocalFileHeader.cs
- DrawingContextDrawingContextWalker.cs
- EmbossBitmapEffect.cs
- WmlControlAdapter.cs
- ExceptionRoutedEventArgs.cs
- RegionInfo.cs
- PenLineCapValidation.cs
- PointAnimationUsingPath.cs
- ConfigurationSettings.cs
- RemoteWebConfigurationHostServer.cs
- DBConcurrencyException.cs
- PreservationFileWriter.cs
- HostingEnvironmentException.cs
- IdleTimeoutMonitor.cs
- COM2FontConverter.cs
- SwitchElementsCollection.cs
- SafeEventLogReadHandle.cs