Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlText.cs / 1305376 / 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
- DebugManager.cs
- InfoCardX509Validator.cs
- GetWorkflowTree.cs
- BuildManagerHost.cs
- GlobalItem.cs
- OdbcHandle.cs
- XmlNodeWriter.cs
- ApplicationSecurityInfo.cs
- ValueExpressions.cs
- SeparatorAutomationPeer.cs
- XsdSchemaFileEditor.cs
- DrawingVisualDrawingContext.cs
- OleDbEnumerator.cs
- FaultContractAttribute.cs
- SystemTcpStatistics.cs
- MexHttpBindingCollectionElement.cs
- RichTextBoxConstants.cs
- MenuAutomationPeer.cs
- CompositeCollection.cs
- Regex.cs
- InputQueueChannel.cs
- X509ServiceCertificateAuthentication.cs
- OptimisticConcurrencyException.cs
- SoapObjectReader.cs
- InvalidWMPVersionException.cs
- ValueChangedEventManager.cs
- ToolboxService.cs
- MediaElement.cs
- ProxyWebPart.cs
- HttpHeaderCollection.cs
- DrawingImage.cs
- PackagingUtilities.cs
- Viewport3DVisual.cs
- regiisutil.cs
- SwitchExpression.cs
- WebPartTransformerAttribute.cs
- DynamicQueryStringParameter.cs
- MessageSecurityOverTcp.cs
- DictionaryBase.cs
- ScalarType.cs
- SettingsSection.cs
- CompilerErrorCollection.cs
- RecommendedAsConfigurableAttribute.cs
- UnauthorizedAccessException.cs
- XPathParser.cs
- HideDisabledControlAdapter.cs
- PaginationProgressEventArgs.cs
- DodSequenceMerge.cs
- ImageMetadata.cs
- WebPartUserCapability.cs
- Lasso.cs
- ClientData.cs
- UrlPath.cs
- WorkflowDataContext.cs
- Int64Storage.cs
- BitmapCodecInfoInternal.cs
- IntegrationExceptionEventArgs.cs
- DataServiceRequestOfT.cs
- PersistenceTypeAttribute.cs
- OpCellTreeNode.cs
- PagerSettings.cs
- AssemblyInfo.cs
- UIElementCollection.cs
- RSAOAEPKeyExchangeFormatter.cs
- ChannelRequirements.cs
- TemplateBaseAction.cs
- ProfileModule.cs
- ObjectParameter.cs
- SystemColors.cs
- _NativeSSPI.cs
- RectangleF.cs
- CodeThrowExceptionStatement.cs
- TypeExtensionConverter.cs
- XPathDocument.cs
- LassoSelectionBehavior.cs
- PermissionToken.cs
- ResourceExpressionBuilder.cs
- ValueTypeFixupInfo.cs
- RectangleHotSpot.cs
- PeerInvitationResponse.cs
- cookiecollection.cs
- ObjectPropertyMapping.cs
- ManagementScope.cs
- IpcChannelHelper.cs
- XmlQualifiedNameTest.cs
- EditorZoneBase.cs
- Properties.cs
- ObjectCacheHost.cs
- BindingUtils.cs
- StylusPlugin.cs
- AbstractExpressions.cs
- SafeNativeMethodsCLR.cs
- NameSpaceExtractor.cs
- Itemizer.cs
- BindingContext.cs
- WindowsRichEdit.cs
- TimerElapsedEvenArgs.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- WindowsListViewItem.cs
- ValidatorCompatibilityHelper.cs