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
- Journal.cs
- CommandPlan.cs
- SessionSwitchEventArgs.cs
- IsolatedStorageSecurityState.cs
- SessionStateItemCollection.cs
- OdbcReferenceCollection.cs
- PngBitmapEncoder.cs
- XmlSchemaAll.cs
- DbDeleteCommandTree.cs
- XmlQueryContext.cs
- CodeTypeDeclaration.cs
- WorkItem.cs
- GeneralTransform.cs
- SystemUdpStatistics.cs
- CacheMemory.cs
- SafeRightsManagementPubHandle.cs
- DictionaryBase.cs
- RequestCachePolicyConverter.cs
- MetadataArtifactLoader.cs
- IdentifierCreationService.cs
- DocumentsTrace.cs
- MemberAssignmentAnalysis.cs
- XPathAncestorQuery.cs
- CheckBoxAutomationPeer.cs
- SlotInfo.cs
- BooleanConverter.cs
- CLSCompliantAttribute.cs
- LazyTextWriterCreator.cs
- AsyncOperationManager.cs
- EditingMode.cs
- SourceChangedEventArgs.cs
- NetworkCredential.cs
- RawKeyboardInputReport.cs
- MemberAssignment.cs
- TdsParserStateObject.cs
- XmlDataSourceView.cs
- UserControl.cs
- Normalization.cs
- FloaterBaseParaClient.cs
- ListBoxChrome.cs
- QueryCreatedEventArgs.cs
- ObjectPersistData.cs
- DataTableClearEvent.cs
- FontCacheUtil.cs
- EmulateRecognizeCompletedEventArgs.cs
- BinaryReader.cs
- ClassGenerator.cs
- ParameterRefs.cs
- ValuePattern.cs
- NetMsmqBindingCollectionElement.cs
- DataShape.cs
- DbProviderFactory.cs
- FontEditor.cs
- ManifestResourceInfo.cs
- DataGridViewComboBoxCell.cs
- IsolationInterop.cs
- AnimationStorage.cs
- SmiEventSink_Default.cs
- TextRunTypographyProperties.cs
- ReadOnlyDictionary.cs
- VectorKeyFrameCollection.cs
- TextTreeInsertElementUndoUnit.cs
- IResourceProvider.cs
- PopupEventArgs.cs
- MDIControlStrip.cs
- MULTI_QI.cs
- Win32MouseDevice.cs
- UnsafeNativeMethods.cs
- TextRangeProviderWrapper.cs
- DBParameter.cs
- MultiSelectRootGridEntry.cs
- DynamicDocumentPaginator.cs
- SmtpDateTime.cs
- StrokeIntersection.cs
- GradientBrush.cs
- TextRangeEditTables.cs
- StringPropertyBuilder.cs
- TraceData.cs
- StoreContentChangedEventArgs.cs
- XmlException.cs
- DocumentOrderQuery.cs
- CapabilitiesAssignment.cs
- MenuStrip.cs
- EventListener.cs
- NavigationWindow.cs
- PropertiesTab.cs
- AssemblyCache.cs
- RelatedView.cs
- XslCompiledTransform.cs
- XmlSchemaObject.cs
- WhileDesigner.xaml.cs
- ParseHttpDate.cs
- SecurityContext.cs
- _NestedMultipleAsyncResult.cs
- Enum.cs
- Base64Encoder.cs
- Helper.cs
- SqlUserDefinedAggregateAttribute.cs
- DrawItemEvent.cs
- DataGridViewCellPaintingEventArgs.cs