Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- COAUTHIDENTITY.cs
- Stack.cs
- IPipelineRuntime.cs
- StringFunctions.cs
- Attachment.cs
- XmlTextReader.cs
- SpeechSeg.cs
- SuppressMessageAttribute.cs
- OrderingInfo.cs
- UpDownEvent.cs
- ToolboxCategoryItems.cs
- Base64Stream.cs
- AttributeProviderAttribute.cs
- SafeWaitHandle.cs
- QilUnary.cs
- OutputCacheSection.cs
- InternalSendMessage.cs
- BatchStream.cs
- HttpBrowserCapabilitiesWrapper.cs
- M3DUtil.cs
- EditorAttribute.cs
- WorkflowQueueInfo.cs
- ScrollItemProviderWrapper.cs
- MouseWheelEventArgs.cs
- DetailsViewUpdateEventArgs.cs
- ReverseInheritProperty.cs
- ContentType.cs
- DrawToolTipEventArgs.cs
- HostedHttpContext.cs
- ArgumentsParser.cs
- RectangleConverter.cs
- XPathNavigator.cs
- EventKeyword.cs
- PropertyEntry.cs
- TagMapCollection.cs
- Int16Animation.cs
- EmptyCollection.cs
- Control.cs
- XmlReflectionImporter.cs
- ListCommandEventArgs.cs
- NavigationHelper.cs
- ProcessModelSection.cs
- sqlnorm.cs
- EventTrigger.cs
- ToolStripItemTextRenderEventArgs.cs
- SqlMethodAttribute.cs
- UnsafeNativeMethods.cs
- CodeDOMProvider.cs
- SqlDataSourceStatusEventArgs.cs
- CallId.cs
- InheritedPropertyChangedEventArgs.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- ExclusiveTcpTransportManager.cs
- ConnectionManagementSection.cs
- DataSet.cs
- Rect3DConverter.cs
- ResizingMessageFilter.cs
- Pen.cs
- HandlerBase.cs
- BuildManager.cs
- TypeSystem.cs
- ResourceExpressionEditor.cs
- SerializerWriterEventHandlers.cs
- MissingMethodException.cs
- ManagedWndProcTracker.cs
- Scheduling.cs
- RelationshipWrapper.cs
- DescendentsWalkerBase.cs
- Pen.cs
- BaseValidatorDesigner.cs
- TagMapInfo.cs
- RNGCryptoServiceProvider.cs
- SessionPageStateSection.cs
- ItemCollection.cs
- ThrowHelper.cs
- LabelDesigner.cs
- DispatcherObject.cs
- MonthCalendar.cs
- SystemResources.cs
- XamlClipboardData.cs
- UpdateProgress.cs
- MetafileHeaderWmf.cs
- ViewKeyConstraint.cs
- SqlConnectionFactory.cs
- wmiutil.cs
- TimerEventSubscriptionCollection.cs
- DataGridViewCellCancelEventArgs.cs
- HtmlFormParameterWriter.cs
- XamlParser.cs
- WindowsFormsEditorServiceHelper.cs
- BindingMemberInfo.cs
- ImportCatalogPart.cs
- DesignerDataParameter.cs
- VisualTransition.cs
- XmlDataSource.cs
- HtmlEncodedRawTextWriter.cs
- DataGridViewLinkColumn.cs
- FontCacheUtil.cs
- MenuItemBinding.cs
- APCustomTypeDescriptor.cs