Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- TypedRowHandler.cs
- RegisteredScript.cs
- TraceUtility.cs
- HttpHandlerAction.cs
- NonParentingControl.cs
- FaultHandlingFilter.cs
- ContextMenuStripGroup.cs
- TemplateEditingService.cs
- HtmlInputText.cs
- PackageProperties.cs
- ListViewContainer.cs
- MultiBindingExpression.cs
- MonitoringDescriptionAttribute.cs
- SelectionRange.cs
- Processor.cs
- _SslState.cs
- TableLayoutStyleCollection.cs
- WebBrowserContainer.cs
- securitycriticaldataClass.cs
- ZipIOExtraFieldZip64Element.cs
- _TransmitFileOverlappedAsyncResult.cs
- TranslateTransform.cs
- ElementHostPropertyMap.cs
- ItemsPresenter.cs
- CompiledXpathExpr.cs
- GeneralTransformGroup.cs
- CurrentChangingEventManager.cs
- Baml2006ReaderSettings.cs
- StylusPointCollection.cs
- PrinterResolution.cs
- HtmlFormWrapper.cs
- Version.cs
- TableRow.cs
- ArrayHelper.cs
- mediaeventshelper.cs
- Funcletizer.cs
- SpellerStatusTable.cs
- WaitForChangedResult.cs
- FileResponseElement.cs
- XsltArgumentList.cs
- UndoEngine.cs
- UInt64Converter.cs
- DiffuseMaterial.cs
- DoubleIndependentAnimationStorage.cs
- DataTableReader.cs
- XmlBinaryReader.cs
- EdmToObjectNamespaceMap.cs
- Font.cs
- SoapSchemaMember.cs
- ObjectParameterCollection.cs
- TrackingMemoryStreamFactory.cs
- KeyEvent.cs
- TrackingProfile.cs
- Rect.cs
- MimePart.cs
- WizardStepBase.cs
- SHA384.cs
- TextTreeTextElementNode.cs
- COM2IDispatchConverter.cs
- XslException.cs
- PreviewPageInfo.cs
- DeclaredTypeElement.cs
- SignedXml.cs
- CngProperty.cs
- SamlEvidence.cs
- BitmapEffectGroup.cs
- EllipseGeometry.cs
- Merger.cs
- baseshape.cs
- BufferedGraphics.cs
- BinaryWriter.cs
- webproxy.cs
- NumberSubstitution.cs
- StrongNameMembershipCondition.cs
- InputLangChangeRequestEvent.cs
- _DisconnectOverlappedAsyncResult.cs
- BindingListCollectionView.cs
- NumericPagerField.cs
- ZipIORawDataFileBlock.cs
- File.cs
- PointHitTestResult.cs
- ArgumentDesigner.xaml.cs
- IsolatedStoragePermission.cs
- cookiecontainer.cs
- SubstitutionList.cs
- Frame.cs
- HelpProvider.cs
- StyleModeStack.cs
- PrintDialogDesigner.cs
- Light.cs
- ScriptControl.cs
- WebPartPersonalization.cs
- TemplateField.cs
- CompoundFileReference.cs
- TcpChannelHelper.cs
- DataControlButton.cs
- NeutralResourcesLanguageAttribute.cs
- Part.cs
- TextDecoration.cs
- FrameworkElement.cs