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
- CompressedStack.cs
- CompiledQuery.cs
- StreamInfo.cs
- TimerElapsedEvenArgs.cs
- MemoryRecordBuffer.cs
- CodeDOMUtility.cs
- GlyphTypeface.cs
- ProtocolsSection.cs
- XmlSchemaAnnotation.cs
- XhtmlBasicListAdapter.cs
- Site.cs
- IIS7WorkerRequest.cs
- LicenseContext.cs
- SimpleMailWebEventProvider.cs
- SqlUserDefinedAggregateAttribute.cs
- MexHttpBindingElement.cs
- NativeMethods.cs
- CodeCompileUnit.cs
- IntSecurity.cs
- EventListener.cs
- TimersDescriptionAttribute.cs
- SingleAnimation.cs
- StrongNameKeyPair.cs
- SiteMap.cs
- TreeViewAutomationPeer.cs
- ContentOnlyMessage.cs
- ItemMap.cs
- GuidConverter.cs
- StrokeDescriptor.cs
- FileAuthorizationModule.cs
- ForceCopyBuildProvider.cs
- SqlDataSourceCache.cs
- DeploymentSection.cs
- NameValueConfigurationCollection.cs
- XmlSchemaCollection.cs
- HighlightComponent.cs
- OleDbSchemaGuid.cs
- GetPageCompletedEventArgs.cs
- DeferredReference.cs
- FrameworkElement.cs
- LineVisual.cs
- CodeMemberProperty.cs
- MatrixKeyFrameCollection.cs
- EncodingInfo.cs
- SmiEventSink_DeferedProcessing.cs
- QueryOperatorEnumerator.cs
- DateTimeFormatInfo.cs
- ResourceExpression.cs
- EncryptedData.cs
- CustomErrorCollection.cs
- EncodingDataItem.cs
- RuntimeComponentFilter.cs
- UnmanagedMemoryStream.cs
- CallContext.cs
- NullableDecimalMinMaxAggregationOperator.cs
- RootCodeDomSerializer.cs
- DrawingState.cs
- SingleAnimationUsingKeyFrames.cs
- JoinSymbol.cs
- Header.cs
- BuildProvidersCompiler.cs
- XmlSignatureProperties.cs
- DataGridViewCellValidatingEventArgs.cs
- Version.cs
- EntityCodeGenerator.cs
- TimeStampChecker.cs
- ConfigXmlElement.cs
- DtcInterfaces.cs
- MemberBinding.cs
- ControlPaint.cs
- TextOutput.cs
- PersistenceTypeAttribute.cs
- XmlAttributeAttribute.cs
- ObjectDataSource.cs
- Msmq3PoisonHandler.cs
- RequestCachingSection.cs
- PropertyEntry.cs
- AnnotationObservableCollection.cs
- RelatedImageListAttribute.cs
- FrameworkContextData.cs
- HttpRequestWrapper.cs
- HttpRuntime.cs
- DigitalSignatureProvider.cs
- Matrix3DStack.cs
- GeneralTransform3DTo2DTo3D.cs
- CheckBoxDesigner.cs
- ParagraphResult.cs
- SrgsDocumentParser.cs
- PersonalizableAttribute.cs
- FlowDocument.cs
- StyleXamlParser.cs
- Decimal.cs
- SqlConnection.cs
- DefaultEventAttribute.cs
- TextAnchor.cs
- Util.cs
- LoginName.cs
- LessThan.cs
- WsiProfilesElementCollection.cs
- DocumentPage.cs