Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- WebPartHelpVerb.cs
- IntranetCredentialPolicy.cs
- ActivationServices.cs
- PartitionedStreamMerger.cs
- X509RawDataKeyIdentifierClause.cs
- Brush.cs
- InstallerTypeAttribute.cs
- WebScriptMetadataMessageEncodingBindingElement.cs
- ContextStack.cs
- XmlSortKey.cs
- ScrollableControlDesigner.cs
- XmlProcessingInstruction.cs
- MissingMemberException.cs
- FileVersionInfo.cs
- ExpressionEditor.cs
- SystemKeyConverter.cs
- Matrix3D.cs
- Selection.cs
- HiddenFieldPageStatePersister.cs
- FileDialogCustomPlaces.cs
- CultureInfoConverter.cs
- RangeValidator.cs
- URI.cs
- NameTable.cs
- NoClickablePointException.cs
- AnnotationComponentManager.cs
- Image.cs
- AnnotationResourceCollection.cs
- SafePEFileHandle.cs
- SmtpTransport.cs
- VirtualPathProvider.cs
- BoolLiteral.cs
- DbConnectionOptions.cs
- SafeHandles.cs
- _ShellExpression.cs
- AuthStoreRoleProvider.cs
- RuntimeEnvironment.cs
- MenuAutomationPeer.cs
- FileEnumerator.cs
- Parser.cs
- PrintPreviewGraphics.cs
- BitmapEffectGroup.cs
- TiffBitmapDecoder.cs
- Models.cs
- HostedElements.cs
- CustomAssemblyResolver.cs
- ClientScriptManagerWrapper.cs
- StoreItemCollection.cs
- SystemIPv4InterfaceProperties.cs
- InvalidDataException.cs
- PreservationFileWriter.cs
- KeyedCollection.cs
- NativeMethods.cs
- Section.cs
- ErrorLog.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- UIElement.cs
- RequestCache.cs
- TabRenderer.cs
- ExpressionBuilderContext.cs
- ParagraphResult.cs
- ExpressionBuilder.cs
- CodeRegionDirective.cs
- WinInetCache.cs
- XmlSchemaExternal.cs
- FrameworkObject.cs
- IPipelineRuntime.cs
- ReadOnlyTernaryTree.cs
- SyndicationContent.cs
- IPPacketInformation.cs
- SortDescription.cs
- CodeSubDirectory.cs
- EmptyControlCollection.cs
- PeerConnector.cs
- PhysicalAddress.cs
- SettingsContext.cs
- RadioButtonFlatAdapter.cs
- SuppressIldasmAttribute.cs
- ProfileGroupSettings.cs
- BamlTreeMap.cs
- DirectoryNotFoundException.cs
- TextAutomationPeer.cs
- ExtenderProvidedPropertyAttribute.cs
- ClientConfigPaths.cs
- Inflater.cs
- StorageMappingFragment.cs
- ApplicationServicesHostFactory.cs
- ClassGenerator.cs
- MgmtConfigurationRecord.cs
- SizeLimitedCache.cs
- LoginUtil.cs
- BamlRecordHelper.cs
- RuntimeWrappedException.cs
- Variant.cs
- ComponentResourceKey.cs
- PathFigure.cs
- OdbcPermission.cs
- CodeObjectCreateExpression.cs
- PropertyInfo.cs
- ReadOnlyDataSource.cs