Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ComPlusContractBehavior.cs
- ValueUnavailableException.cs
- UICuesEvent.cs
- ZipIOLocalFileHeader.cs
- WindowsListViewItemStartMenu.cs
- ConstraintCollection.cs
- DataGridViewDesigner.cs
- TemplateParser.cs
- CommandBindingCollection.cs
- SEHException.cs
- ProcessHostConfigUtils.cs
- TemplateControlBuildProvider.cs
- SqlNotificationRequest.cs
- MembershipPasswordException.cs
- SqlBooleanMismatchVisitor.cs
- PeerContact.cs
- TreeNodeBindingCollection.cs
- httpstaticobjectscollection.cs
- ObjectDataSourceMethodEventArgs.cs
- PathFigureCollectionConverter.cs
- OleDbParameterCollection.cs
- GifBitmapEncoder.cs
- DataStreams.cs
- _ConnectStream.cs
- HtmlInputButton.cs
- GlobalizationSection.cs
- UnsafeNativeMethodsTablet.cs
- ProcessThread.cs
- RequestStatusBarUpdateEventArgs.cs
- SocketCache.cs
- SqlTransaction.cs
- TextSelection.cs
- ScrollBarRenderer.cs
- PassportIdentity.cs
- StorageComplexTypeMapping.cs
- EnumerableRowCollection.cs
- XmlTypeAttribute.cs
- XamlSerializerUtil.cs
- StructuralCache.cs
- StatusStrip.cs
- CodeTypeOfExpression.cs
- DesignerVerb.cs
- RsaSecurityToken.cs
- ModifierKeysConverter.cs
- EncodedStreamFactory.cs
- LinqDataSourceStatusEventArgs.cs
- Rect.cs
- WeakEventTable.cs
- GridViewDeleteEventArgs.cs
- CachedBitmap.cs
- MDIControlStrip.cs
- ReadOnlyHierarchicalDataSourceView.cs
- PageWrapper.cs
- XmlSchemaIdentityConstraint.cs
- SqlDataSourceStatusEventArgs.cs
- ListItemsPage.cs
- DirtyTextRange.cs
- SettingsProperty.cs
- EntitySetBaseCollection.cs
- PreviewPageInfo.cs
- TemplatedAdorner.cs
- GPRECT.cs
- BuildManagerHost.cs
- ResourceAssociationSetEnd.cs
- GroupJoinQueryOperator.cs
- DataGridCellClipboardEventArgs.cs
- StructureChangedEventArgs.cs
- TextShapeableCharacters.cs
- XmlQueryTypeFactory.cs
- Camera.cs
- HostingEnvironmentSection.cs
- TextCollapsingProperties.cs
- Queue.cs
- ServiceDebugBehavior.cs
- LongValidator.cs
- GetRecipientRequest.cs
- GeometryValueSerializer.cs
- WmlObjectListAdapter.cs
- _NegoState.cs
- BridgeDataReader.cs
- CodeSnippetStatement.cs
- OlePropertyStructs.cs
- JoinElimination.cs
- PersonalizationDictionary.cs
- NumberSubstitution.cs
- SecurityPermission.cs
- LeaseManager.cs
- StreamWriter.cs
- CommandEventArgs.cs
- CuspData.cs
- FrameworkObject.cs
- TypeDependencyAttribute.cs
- Win32Interop.cs
- GroupBoxRenderer.cs
- ScopelessEnumAttribute.cs
- LinkedList.cs
- OracleCommandBuilder.cs
- ClientSettingsSection.cs
- MappingException.cs
- SpellerError.cs