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
- ListBox.cs
- DbCommandTree.cs
- ValueUtilsSmi.cs
- HttpHandlersSection.cs
- RegexParser.cs
- WindowsNonControl.cs
- ResourceManager.cs
- SelectedGridItemChangedEvent.cs
- XmlPropertyBag.cs
- MonitoringDescriptionAttribute.cs
- AnnotationHelper.cs
- GraphicsContainer.cs
- StringPropertyBuilder.cs
- ImageButton.cs
- ExpressionBuilder.cs
- QilFactory.cs
- Point3DAnimationUsingKeyFrames.cs
- DropDownList.cs
- MatrixUtil.cs
- AccessDataSourceWizardForm.cs
- XPathBuilder.cs
- MemoryMappedFile.cs
- RoleService.cs
- ProcessHostServerConfig.cs
- Collection.cs
- BitmapEffect.cs
- RegisteredExpandoAttribute.cs
- ImageInfo.cs
- ScriptingRoleServiceSection.cs
- NaturalLanguageHyphenator.cs
- WebPartTransformer.cs
- EntityContainerEmitter.cs
- X509CertificateRecipientClientCredential.cs
- GPPOINT.cs
- StylusPointPropertyInfo.cs
- DeclarationUpdate.cs
- TextBox.cs
- COM2TypeInfoProcessor.cs
- DataSourceXmlAttributeAttribute.cs
- FrameworkObject.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- HttpProfileBase.cs
- RestClientProxyHandler.cs
- PackUriHelper.cs
- FontWeightConverter.cs
- XmlException.cs
- UriParserTemplates.cs
- TransformConverter.cs
- AppliedDeviceFiltersDialog.cs
- PersonalizationProvider.cs
- SafeNativeMemoryHandle.cs
- Comparer.cs
- CompositeCollectionView.cs
- DesignParameter.cs
- Metafile.cs
- COM2PropertyDescriptor.cs
- TemplateManager.cs
- SizeChangedEventArgs.cs
- Evaluator.cs
- EventProviderWriter.cs
- TextTreeObjectNode.cs
- ComponentGuaranteesAttribute.cs
- PathTooLongException.cs
- TransformConverter.cs
- OleDbDataAdapter.cs
- RotateTransform.cs
- BuildProviderAppliesToAttribute.cs
- FuncCompletionCallbackWrapper.cs
- SQLGuid.cs
- XmlDocumentFieldSchema.cs
- ImageInfo.cs
- DrawingAttributes.cs
- EditorZone.cs
- TcpChannelListener.cs
- FamilyTypefaceCollection.cs
- WebContext.cs
- StringComparer.cs
- DefinitionBase.cs
- GroupBox.cs
- Deflater.cs
- BufferAllocator.cs
- FormattedText.cs
- SqlRowUpdatingEvent.cs
- SimpleFieldTemplateFactory.cs
- SystemIPGlobalStatistics.cs
- XpsLiterals.cs
- DataGridViewMethods.cs
- CipherData.cs
- TimeZone.cs
- TreePrinter.cs
- Command.cs
- AssemblyCollection.cs
- FormatControl.cs
- ComNativeDescriptor.cs
- controlskin.cs
- PermissionRequestEvidence.cs
- DoubleLink.cs
- HtmlShimManager.cs
- CfgParser.cs
- FontInfo.cs