Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- AppDomain.cs
- TrackingAnnotationCollection.cs
- SqlInternalConnection.cs
- SizeLimitedCache.cs
- ListItemCollection.cs
- Rect.cs
- DiscoveryDocumentLinksPattern.cs
- _CommandStream.cs
- ExtractorMetadata.cs
- LocatorManager.cs
- BindingExpression.cs
- HtmlImage.cs
- DataServiceQueryOfT.cs
- WebPartMenu.cs
- RegistrySecurity.cs
- RuleAttributes.cs
- ProtocolsSection.cs
- SqlGatherProducedAliases.cs
- FragmentQuery.cs
- HashCodeCombiner.cs
- ZipIOExtraFieldPaddingElement.cs
- DiscoveryReference.cs
- TimelineGroup.cs
- HtmlTable.cs
- ThemeableAttribute.cs
- Vector3DKeyFrameCollection.cs
- ApplicationFileParser.cs
- DeviceSpecificChoice.cs
- FullTrustAssemblyCollection.cs
- ChildrenQuery.cs
- LogAppendAsyncResult.cs
- ParentUndoUnit.cs
- ObjectStateManagerMetadata.cs
- _NetworkingPerfCounters.cs
- PageSetupDialog.cs
- Page.cs
- CodePageUtils.cs
- EncryptedKeyIdentifierClause.cs
- AdCreatedEventArgs.cs
- BlurEffect.cs
- DecoderFallbackWithFailureFlag.cs
- JsonByteArrayDataContract.cs
- FormsAuthenticationCredentials.cs
- SafeEventLogWriteHandle.cs
- DesignerTransactionCloseEvent.cs
- SecurityTokenSerializer.cs
- FixedPage.cs
- Command.cs
- WindowInteractionStateTracker.cs
- XmlSchemaAttribute.cs
- ActiveXContainer.cs
- PixelShader.cs
- TrackingQueryElement.cs
- ListViewTableCell.cs
- ConstantSlot.cs
- SafeWaitHandle.cs
- FactoryId.cs
- MissingMemberException.cs
- StandardCommands.cs
- NativeBuffer.cs
- UnsafeNativeMethods.cs
- RichTextBox.cs
- MarshalByRefObject.cs
- ThreadInterruptedException.cs
- Substitution.cs
- CodeObject.cs
- TextBox.cs
- HtmlTernaryTree.cs
- Pair.cs
- XmlSchemaProviderAttribute.cs
- ExceptionHandlersDesigner.cs
- TypeInitializationException.cs
- ListBase.cs
- TableLayoutStyleCollection.cs
- MailSettingsSection.cs
- SoapRpcServiceAttribute.cs
- SuppressMessageAttribute.cs
- ConfigXmlComment.cs
- CancelEventArgs.cs
- WindowsSpinner.cs
- SQLSingle.cs
- TerminatorSinks.cs
- XamlToRtfWriter.cs
- Point3DAnimationUsingKeyFrames.cs
- AudioStateChangedEventArgs.cs
- NavigationProperty.cs
- LicenseContext.cs
- ApplicationFileParser.cs
- MaskedTextBoxDesignerActionList.cs
- Policy.cs
- DataSourceXmlClassAttribute.cs
- PolicyManager.cs
- PartialCachingControl.cs
- CipherData.cs
- ConnectionStringsExpressionBuilder.cs
- DataGridCellsPresenter.cs
- ToolboxDataAttribute.cs
- ContainerParaClient.cs
- DeferredElementTreeState.cs
- WebMessageBodyStyleHelper.cs