Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Sys / 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
- ListMarkerLine.cs
- MoveSizeWinEventHandler.cs
- CharAnimationUsingKeyFrames.cs
- DetailsViewInsertedEventArgs.cs
- ProfileService.cs
- CompositionTarget.cs
- querybuilder.cs
- PolicyUnit.cs
- MessageProtectionOrder.cs
- StrongTypingException.cs
- OutputCacheModule.cs
- HtmlInputReset.cs
- RestClientProxyHandler.cs
- ValidationEventArgs.cs
- MobileListItemCollection.cs
- CodeVariableReferenceExpression.cs
- PersonalizationStateInfoCollection.cs
- CellLabel.cs
- ListViewPagedDataSource.cs
- DataComponentNameHandler.cs
- SqlDataSourceRefreshSchemaForm.cs
- ExportException.cs
- RedistVersionInfo.cs
- FormViewDeleteEventArgs.cs
- SerTrace.cs
- DrawingContextWalker.cs
- InvokePatternIdentifiers.cs
- Msec.cs
- SmiContext.cs
- EmbeddedMailObjectsCollection.cs
- SQLBytes.cs
- SourceSwitch.cs
- TimelineGroup.cs
- SharedHttpTransportManager.cs
- ExpressionServices.cs
- WorkflowFileItem.cs
- ComponentCodeDomSerializer.cs
- util.cs
- WebPartManagerInternals.cs
- HwndSource.cs
- Thread.cs
- AggregateException.cs
- SamlConditions.cs
- ActivationArguments.cs
- XhtmlTextWriter.cs
- DrawingContextDrawingContextWalker.cs
- FontWeightConverter.cs
- Environment.cs
- MatrixIndependentAnimationStorage.cs
- MetadataItem_Static.cs
- DmlSqlGenerator.cs
- DataColumnMappingCollection.cs
- HttpBrowserCapabilitiesWrapper.cs
- WizardSideBarListControlItemEventArgs.cs
- ValidatedControlConverter.cs
- GeneralTransform3DGroup.cs
- FontFamilyConverter.cs
- WithParamAction.cs
- CharEnumerator.cs
- ZipIOCentralDirectoryFileHeader.cs
- SystemIPGlobalProperties.cs
- SQLDoubleStorage.cs
- ClientApiGenerator.cs
- InvalidComObjectException.cs
- TraceRecords.cs
- ContextMenuAutomationPeer.cs
- DbDataRecord.cs
- PresentationUIStyleResources.cs
- ActivityMarkupSerializationProvider.cs
- PageRequestManager.cs
- ADMembershipUser.cs
- DayRenderEvent.cs
- Converter.cs
- SessionStateUtil.cs
- RightNameExpirationInfoPair.cs
- XmlRootAttribute.cs
- WebMessageFormatHelper.cs
- WindowsNonControl.cs
- LoginView.cs
- CodeStatementCollection.cs
- StorageBasedPackageProperties.cs
- DataGridItemAttachedStorage.cs
- WebPartsPersonalization.cs
- ElementProxy.cs
- LongPath.cs
- CqlBlock.cs
- SafeThemeHandle.cs
- TableRow.cs
- HostVisual.cs
- RegexCode.cs
- XmlTextReaderImpl.cs
- WindowsFormsHelpers.cs
- HTMLTextWriter.cs
- XmlLanguageConverter.cs
- TextSpan.cs
- SapiRecognizer.cs
- ListControlDataBindingHandler.cs
- XmlComment.cs
- SQLInt64Storage.cs
- SchemaElementDecl.cs