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
- BuilderPropertyEntry.cs
- VideoDrawing.cs
- ShutDownListener.cs
- ApplyImportsAction.cs
- IMembershipProvider.cs
- ObjectResult.cs
- DocumentReference.cs
- WindowsFormsHostPropertyMap.cs
- RowToParametersTransformer.cs
- EntityDataSourceReferenceGroup.cs
- PingOptions.cs
- SystemFonts.cs
- SQLString.cs
- ByteStack.cs
- CollectionChangedEventManager.cs
- ProfileGroupSettingsCollection.cs
- BufferModeSettings.cs
- ZipFileInfoCollection.cs
- CommandEventArgs.cs
- AttachedAnnotation.cs
- Int64Converter.cs
- ElapsedEventArgs.cs
- Scripts.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- DataConnectionHelper.cs
- ControlType.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- CustomSignedXml.cs
- StructuredTypeEmitter.cs
- LinkDescriptor.cs
- SmiTypedGetterSetter.cs
- PropertyEmitterBase.cs
- ScriptingRoleServiceSection.cs
- TraceData.cs
- Processor.cs
- GroupByQueryOperator.cs
- ReservationNotFoundException.cs
- ListSortDescription.cs
- MultitargetingHelpers.cs
- SqlClientWrapperSmiStreamChars.cs
- DispatcherObject.cs
- RegistryConfigurationProvider.cs
- FileLevelControlBuilderAttribute.cs
- LogLogRecord.cs
- FrameAutomationPeer.cs
- ActivityCodeGenerator.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- CollaborationHelperFunctions.cs
- basecomparevalidator.cs
- XmlSecureResolver.cs
- TreeView.cs
- ETagAttribute.cs
- FolderBrowserDialog.cs
- XmlDocument.cs
- ContainerControlDesigner.cs
- TransactedBatchContext.cs
- Paragraph.cs
- UnknownBitmapEncoder.cs
- DependencyProperty.cs
- FontDialog.cs
- XPathNodeInfoAtom.cs
- TraceSection.cs
- SerializationUtility.cs
- LocatorPartList.cs
- WS2007FederationHttpBindingCollectionElement.cs
- Visual3D.cs
- ReverseInheritProperty.cs
- NativeMethods.cs
- SHA256.cs
- ScriptIgnoreAttribute.cs
- AutoGeneratedFieldProperties.cs
- RangeContentEnumerator.cs
- MemberAssignmentAnalysis.cs
- CompiledRegexRunnerFactory.cs
- MatrixAnimationUsingPath.cs
- BitmapFrameEncode.cs
- VSWCFServiceContractGenerator.cs
- ToolStripItemTextRenderEventArgs.cs
- DataGridViewCellEventArgs.cs
- SR.Designer.cs
- OpacityConverter.cs
- MediaSystem.cs
- DragEvent.cs
- TransactionManager.cs
- EdmComplexPropertyAttribute.cs
- SortDescription.cs
- InheritanceUI.cs
- KnownTypeAttribute.cs
- PropertyInformation.cs
- SqlUdtInfo.cs
- VBCodeProvider.cs
- ImportContext.cs
- TypeDependencyAttribute.cs
- FusionWrap.cs
- SecurityHelper.cs
- DocumentApplicationJournalEntryEventArgs.cs
- MessageHeaders.cs
- Pair.cs
- TraceHandlerErrorFormatter.cs
- QueryRewriter.cs