Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / 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
- HttpCapabilitiesSectionHandler.cs
- XmlSchemaComplexContent.cs
- ClientRolePrincipal.cs
- FileSystemEventArgs.cs
- ActiveXSerializer.cs
- NetworkInformationException.cs
- WebPartTransformerAttribute.cs
- BrowserTree.cs
- ProgressChangedEventArgs.cs
- HtmlUtf8RawTextWriter.cs
- KeyNotFoundException.cs
- DateTimePicker.cs
- ICspAsymmetricAlgorithm.cs
- DbModificationClause.cs
- StreamInfo.cs
- Stylesheet.cs
- StorageEndPropertyMapping.cs
- BidOverLoads.cs
- DetailsViewRowCollection.cs
- XmlReaderSettings.cs
- RemotingServices.cs
- XsdBuildProvider.cs
- SessionStateUtil.cs
- SHA1CryptoServiceProvider.cs
- DrawingContextFlattener.cs
- ContextMenuStrip.cs
- TypeName.cs
- WindowsFormsEditorServiceHelper.cs
- MenuItemCollection.cs
- FormViewInsertEventArgs.cs
- EditCommandColumn.cs
- AttributeCollection.cs
- TableLayoutSettingsTypeConverter.cs
- TemplateBuilder.cs
- RectangleGeometry.cs
- ValidationErrorCollection.cs
- ReadWriteObjectLock.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- OAVariantLib.cs
- TreeNodeCollection.cs
- AVElementHelper.cs
- TextElementEditingBehaviorAttribute.cs
- Switch.cs
- FileAccessException.cs
- TypeBinaryExpression.cs
- VisualStyleElement.cs
- ConfigurationElement.cs
- assertwrapper.cs
- ProviderUtil.cs
- Int32Rect.cs
- ParenExpr.cs
- XmlBoundElement.cs
- DefaultProxySection.cs
- XmlElementAttribute.cs
- PointKeyFrameCollection.cs
- HGlobalSafeHandle.cs
- QilTernary.cs
- AmbientValueAttribute.cs
- DataGridViewImageColumn.cs
- FileSystemInfo.cs
- SoapEnumAttribute.cs
- MailBnfHelper.cs
- MSG.cs
- Environment.cs
- ComplexTypeEmitter.cs
- LinkArea.cs
- SqlDataSourceView.cs
- ObjectHandle.cs
- Point3D.cs
- XXXInfos.cs
- RIPEMD160Managed.cs
- ToolstripProfessionalRenderer.cs
- EntityDataSourceValidationException.cs
- CompositeFontInfo.cs
- BinHexDecoder.cs
- TdsParameterSetter.cs
- SchemaCollectionCompiler.cs
- BrowserCapabilitiesFactory.cs
- WebConfigurationHost.cs
- StreamingContext.cs
- TransactionProxy.cs
- MasterPage.cs
- WebZoneDesigner.cs
- MissingFieldException.cs
- CodeExporter.cs
- ExclusiveTcpListener.cs
- GlobalProxySelection.cs
- SoapFormatExtensions.cs
- DataGridViewCellStyleConverter.cs
- _ContextAwareResult.cs
- dataprotectionpermissionattribute.cs
- TextRangeEditTables.cs
- MeshGeometry3D.cs
- RenderOptions.cs
- DragEvent.cs
- BufferedGraphicsContext.cs
- DataGridCaption.cs
- SemanticKeyElement.cs
- KeySplineConverter.cs
- DependencyObjectProvider.cs