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
- Image.cs
- PersonalizablePropertyEntry.cs
- ConfigPathUtility.cs
- ScrollProperties.cs
- XPathNodeHelper.cs
- EventTask.cs
- SessionEndingCancelEventArgs.cs
- RawMouseInputReport.cs
- XmlWriter.cs
- HashMembershipCondition.cs
- HttpRuntime.cs
- ElementMarkupObject.cs
- SymLanguageVendor.cs
- MetadataItemCollectionFactory.cs
- CompModSwitches.cs
- Int16Storage.cs
- ExpressionBuilderCollection.cs
- OrCondition.cs
- Win32SafeHandles.cs
- SHA256.cs
- MDIControlStrip.cs
- WebPartDisplayModeEventArgs.cs
- DataGridViewDataConnection.cs
- HtmlInputImage.cs
- Pick.cs
- CompoundFileIOPermission.cs
- InboundActivityHelper.cs
- StorageBasedPackageProperties.cs
- SoapCommonClasses.cs
- ColumnMapCopier.cs
- SqlDataSourceFilteringEventArgs.cs
- TextBox.cs
- DataGridViewDataConnection.cs
- DrawingImage.cs
- BitmapEffectGroup.cs
- HashAlgorithm.cs
- ContainerUIElement3D.cs
- CompilerTypeWithParams.cs
- ChangeNode.cs
- Util.cs
- StateMachineSubscriptionManager.cs
- ILGen.cs
- ConfigurationManager.cs
- addressfiltermode.cs
- X509ServiceCertificateAuthenticationElement.cs
- SHA384Managed.cs
- AutoGeneratedField.cs
- ServicePointManagerElement.cs
- precedingquery.cs
- StdRegProviderWrapper.cs
- Stacktrace.cs
- DeviceContexts.cs
- TemplateBindingExtension.cs
- StorageAssociationSetMapping.cs
- FixedPageProcessor.cs
- WindowsAuthenticationModule.cs
- Int32Animation.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- MdImport.cs
- SpoolingTask.cs
- ClusterUtils.cs
- InputBinder.cs
- PassportAuthenticationModule.cs
- MemberProjectedSlot.cs
- DefaultPrintController.cs
- EntityDataSourceDesigner.cs
- MLangCodePageEncoding.cs
- StringUtil.cs
- XmlCharacterData.cs
- FixedSOMContainer.cs
- CompiledRegexRunnerFactory.cs
- AudioLevelUpdatedEventArgs.cs
- WorkflowDebuggerSteppingAttribute.cs
- KeyTime.cs
- OutputChannel.cs
- AutomationPropertyInfo.cs
- EncoderBestFitFallback.cs
- FormatStringEditor.cs
- FileDialog.cs
- WebControlsSection.cs
- BamlLocalizableResource.cs
- DataBinder.cs
- AnnotationComponentManager.cs
- arabicshape.cs
- TcpClientSocketManager.cs
- OleDbError.cs
- TemplateControl.cs
- SpellerHighlightLayer.cs
- NetworkInformationPermission.cs
- PeerName.cs
- Vector3DValueSerializer.cs
- ObjectQueryProvider.cs
- InputBuffer.cs
- SmtpReplyReaderFactory.cs
- ContractListAdapter.cs
- BackgroundWorker.cs
- Deflater.cs
- RtfNavigator.cs
- CompilationSection.cs
- InternalPermissions.cs