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
- OrderedDictionaryStateHelper.cs
- Types.cs
- DiffuseMaterial.cs
- GenerateTemporaryTargetAssembly.cs
- AuthenticationSchemesHelper.cs
- ManagementOperationWatcher.cs
- Hex.cs
- AttachmentService.cs
- RotationValidation.cs
- ReachFixedPageSerializerAsync.cs
- TextEditorCharacters.cs
- WorkflowEnvironment.cs
- InkPresenter.cs
- FixedBufferAttribute.cs
- IfElseDesigner.xaml.cs
- DeliveryStrategy.cs
- SqlUtil.cs
- SoapMessage.cs
- HttpStreamXmlDictionaryReader.cs
- DoWorkEventArgs.cs
- ClientRoleProvider.cs
- MultiByteCodec.cs
- RangeValidator.cs
- BrowserDefinition.cs
- EventMetadata.cs
- RubberbandSelector.cs
- QuotedStringFormatReader.cs
- MultipleViewProviderWrapper.cs
- MediaPlayer.cs
- DragStartedEventArgs.cs
- Label.cs
- ClickablePoint.cs
- SequentialOutput.cs
- SimpleLine.cs
- ImageMap.cs
- HostedHttpRequestAsyncResult.cs
- WebEventTraceProvider.cs
- CommentAction.cs
- BinaryEditor.cs
- BindingCompleteEventArgs.cs
- EntityContainerEmitter.cs
- BackStopAuthenticationModule.cs
- WebPartDisplayModeEventArgs.cs
- RequestTimeoutManager.cs
- SerializationInfo.cs
- BitmapMetadataBlob.cs
- StdRegProviderWrapper.cs
- Line.cs
- GridViewCellAutomationPeer.cs
- BigInt.cs
- IImplicitResourceProvider.cs
- PerfCounters.cs
- DataAdapter.cs
- WindowsEditBox.cs
- SchemaMerger.cs
- DefaultParameterValueAttribute.cs
- PointConverter.cs
- ExcludePathInfo.cs
- ControlUtil.cs
- StreamWithDictionary.cs
- LayoutTableCell.cs
- HttpClientProtocol.cs
- PropertyFilterAttribute.cs
- BinaryFormatterWriter.cs
- TypeDescriptor.cs
- VarInfo.cs
- NumberFunctions.cs
- ToolBarButton.cs
- ChannelServices.cs
- HwndPanningFeedback.cs
- HttpException.cs
- XmlCharCheckingWriter.cs
- ProviderConnectionPointCollection.cs
- ImageResources.Designer.cs
- Cursors.cs
- SelectionProviderWrapper.cs
- TypeRefElement.cs
- MessageDroppedTraceRecord.cs
- RijndaelManagedTransform.cs
- LockedBorderGlyph.cs
- TargetControlTypeAttribute.cs
- XamlTreeBuilderBamlRecordWriter.cs
- StatusBarItem.cs
- filewebrequest.cs
- ErrorFormatterPage.cs
- PropertyPanel.cs
- AdvancedBindingPropertyDescriptor.cs
- LocalTransaction.cs
- Transactions.cs
- NavigationPropertyEmitter.cs
- EdmEntityTypeAttribute.cs
- InternalsVisibleToAttribute.cs
- MaskInputRejectedEventArgs.cs
- DecimalFormatter.cs
- AdapterUtil.cs
- DateTimePicker.cs
- LabelLiteral.cs
- HttpClientCertificate.cs
- BaseTemplateParser.cs
- PrinterSettings.cs