Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- updateconfighost.cs
- AstTree.cs
- EntityDataSourceReferenceGroup.cs
- DocumentGrid.cs
- TemplateManager.cs
- InstanceData.cs
- BulletedListEventArgs.cs
- RootProjectionNode.cs
- Tuple.cs
- ScrollBar.cs
- PageCache.cs
- OpenFileDialog.cs
- DataGridRowEventArgs.cs
- AutomationElementIdentifiers.cs
- xml.cs
- DataBoundControlAdapter.cs
- PersonalizableAttribute.cs
- ScrollEventArgs.cs
- ManagementNamedValueCollection.cs
- NameSpaceEvent.cs
- Serializer.cs
- ApplicationSecurityManager.cs
- SignedXml.cs
- PropagatorResult.cs
- DocumentPage.cs
- PerformanceCounterLib.cs
- ConnectionStringSettingsCollection.cs
- HtmlTernaryTree.cs
- ExtenderProvidedPropertyAttribute.cs
- AliasedSlot.cs
- HandlerFactoryCache.cs
- PolicyManager.cs
- ContentElement.cs
- FontResourceCache.cs
- CompilationUnit.cs
- TemplateControlCodeDomTreeGenerator.cs
- MatrixCamera.cs
- Model3DCollection.cs
- DiscriminatorMap.cs
- Monitor.cs
- ProfileEventArgs.cs
- TreePrinter.cs
- ListViewInsertionMark.cs
- HTTPNotFoundHandler.cs
- PropertyGroupDescription.cs
- WindowsListViewItemCheckBox.cs
- DependencyPropertyHelper.cs
- ManagementException.cs
- ProbeMatchesApril2005.cs
- RecordManager.cs
- DataGridPagingPage.cs
- CompModHelpers.cs
- SymbolMethod.cs
- EndpointConfigContainer.cs
- EntityDataSourceQueryBuilder.cs
- XmlSchemaInfo.cs
- AssemblyFilter.cs
- StateChangeEvent.cs
- SplineKeyFrames.cs
- StaticExtension.cs
- RawStylusSystemGestureInputReport.cs
- ReaderWriterLockWrapper.cs
- StrokeRenderer.cs
- Peer.cs
- Point4D.cs
- DataReceivedEventArgs.cs
- InputReport.cs
- IInstanceContextProvider.cs
- NavigationPropertySingletonExpression.cs
- Message.cs
- SettingsPropertyIsReadOnlyException.cs
- AnnotationElement.cs
- SoapEnumAttribute.cs
- TableColumnCollectionInternal.cs
- XmlSchemaImport.cs
- ChangeBlockUndoRecord.cs
- JoinTreeSlot.cs
- MessageDecoder.cs
- PerfCounters.cs
- MenuBindingsEditorForm.cs
- StringFunctions.cs
- PropertyGridView.cs
- ITreeGenerator.cs
- DataStreamFromComStream.cs
- TypeRestriction.cs
- ToolStripMenuItem.cs
- AuthorizationRule.cs
- RadioButtonList.cs
- MetricEntry.cs
- _Semaphore.cs
- IsolatedStorageFileStream.cs
- __FastResourceComparer.cs
- mansign.cs
- CopyNodeSetAction.cs
- DataGridCaption.cs
- DataRelation.cs
- NameSpaceExtractor.cs
- EventlogProvider.cs
- MailDefinition.cs
- DataKey.cs