Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / Configuration / ConfigXmlText.cs / 1305376 / 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
- LockedActivityGlyph.cs
- PlaceHolder.cs
- XmlTextEncoder.cs
- WebResourceAttribute.cs
- RectKeyFrameCollection.cs
- KeyEvent.cs
- AttributeSetAction.cs
- EventHandlerList.cs
- QueryValue.cs
- ObjectDataSourceSelectingEventArgs.cs
- DesignerSerializerAttribute.cs
- MessageDescription.cs
- DataGridSortCommandEventArgs.cs
- FunctionImportElement.cs
- _Semaphore.cs
- CroppedBitmap.cs
- ExpressionVisitor.cs
- ResourceWriter.cs
- DnsEndPoint.cs
- CatalogPartCollection.cs
- ColorBlend.cs
- EntityException.cs
- ValidationUtility.cs
- DataGridViewCellStyle.cs
- FilterElement.cs
- TreeNodeCollection.cs
- OptimalBreakSession.cs
- EntityClientCacheKey.cs
- DCSafeHandle.cs
- ValueSerializerAttribute.cs
- StorageRoot.cs
- WsdlBuildProvider.cs
- DataPager.cs
- DataBoundLiteralControl.cs
- NavigationService.cs
- Guid.cs
- SHA1.cs
- AttributeTableBuilder.cs
- CodeTypeParameterCollection.cs
- Vector3DCollection.cs
- SectionXmlInfo.cs
- Paragraph.cs
- DesignerTextViewAdapter.cs
- PrintEvent.cs
- GeometryHitTestResult.cs
- DescriptionAttribute.cs
- URLIdentityPermission.cs
- WinFormsUtils.cs
- XmlWrappingReader.cs
- BypassElement.cs
- ClientTargetCollection.cs
- HtmlTableRowCollection.cs
- SpeakInfo.cs
- ZeroOpNode.cs
- Properties.cs
- SqlProcedureAttribute.cs
- BuildResult.cs
- Request.cs
- StyleHelper.cs
- OutputCacheSettings.cs
- WebPartConnectionCollection.cs
- SingleAnimationBase.cs
- DefaultEventAttribute.cs
- TextEditorTyping.cs
- BufferBuilder.cs
- ScriptComponentDescriptor.cs
- WithStatement.cs
- AutoGeneratedFieldProperties.cs
- TextRunCache.cs
- FormViewRow.cs
- EnumMember.cs
- EventManager.cs
- BrowserCapabilitiesCodeGenerator.cs
- DockPatternIdentifiers.cs
- ScopedKnownTypes.cs
- IsolatedStorageException.cs
- TableProviderWrapper.cs
- TransformDescriptor.cs
- IteratorFilter.cs
- NavigationProgressEventArgs.cs
- IgnoreFileBuildProvider.cs
- PrincipalPermission.cs
- InputBindingCollection.cs
- DropTarget.cs
- AmbientLight.cs
- SignatureConfirmations.cs
- WebBrowserNavigatingEventHandler.cs
- XmlSequenceWriter.cs
- HtmlWindow.cs
- OleDbRowUpdatingEvent.cs
- SimpleHandlerBuildProvider.cs
- DelegateSerializationHolder.cs
- MatrixCamera.cs
- HostingEnvironment.cs
- HelpEvent.cs
- ExponentialEase.cs
- HttpCachePolicyElement.cs
- XmlDownloadManager.cs
- HeaderCollection.cs
- ResponseStream.cs