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
- EdmComplexTypeAttribute.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- DiagnosticTrace.cs
- CodeSnippetTypeMember.cs
- XslNumber.cs
- DataGridViewSelectedCellCollection.cs
- WindowsClaimSet.cs
- DropShadowBitmapEffect.cs
- X509RawDataKeyIdentifierClause.cs
- StylusPointDescription.cs
- SHA1Managed.cs
- TimeSpanValidatorAttribute.cs
- SharedHttpTransportManager.cs
- MemoryRecordBuffer.cs
- HebrewNumber.cs
- TextProperties.cs
- WeakReferenceEnumerator.cs
- PersonalizablePropertyEntry.cs
- TableItemStyle.cs
- activationcontext.cs
- GridItem.cs
- XmlAttribute.cs
- TableLayoutSettings.cs
- LabelTarget.cs
- ImageField.cs
- HitTestFilterBehavior.cs
- AutomationElementIdentifiers.cs
- LayoutUtils.cs
- Brushes.cs
- Switch.cs
- SiteMapDesignerDataSourceView.cs
- TargetInvocationException.cs
- InstanceDescriptor.cs
- BuildResult.cs
- HtmlControl.cs
- SerialErrors.cs
- XmlDocumentType.cs
- PolicyValidationException.cs
- PathHelper.cs
- LinearGradientBrush.cs
- LinkButton.cs
- UserNamePasswordValidationMode.cs
- RadialGradientBrush.cs
- BuildManager.cs
- ParameterEditorUserControl.cs
- SplineKeyFrames.cs
- TablePatternIdentifiers.cs
- DropDownList.cs
- SplashScreen.cs
- FormViewInsertEventArgs.cs
- KeyedCollection.cs
- CredentialCache.cs
- TextFormatterImp.cs
- CookielessData.cs
- CodeGotoStatement.cs
- HtmlInputPassword.cs
- PathParser.cs
- InvalidDataContractException.cs
- BindingManagerDataErrorEventArgs.cs
- ReferencedType.cs
- TextSelectionProcessor.cs
- MSAANativeProvider.cs
- WinFormsSecurity.cs
- loginstatus.cs
- OverflowException.cs
- UTF8Encoding.cs
- ObjectAssociationEndMapping.cs
- WSMessageEncoding.cs
- MeshGeometry3D.cs
- MissingFieldException.cs
- Rotation3DAnimationUsingKeyFrames.cs
- EditorZone.cs
- InputBinder.cs
- ServicePointManager.cs
- DatagridviewDisplayedBandsData.cs
- DisplayNameAttribute.cs
- GridViewColumnHeader.cs
- WebPartCatalogCloseVerb.cs
- SmtpNtlmAuthenticationModule.cs
- GenericTextProperties.cs
- PlainXmlSerializer.cs
- KeyedHashAlgorithm.cs
- PersonalizationProviderHelper.cs
- WindowsFormsEditorServiceHelper.cs
- DetailsViewCommandEventArgs.cs
- FileDialog_Vista.cs
- ExtensionDataReader.cs
- XsdSchemaFileEditor.cs
- CompiledXpathExpr.cs
- _RequestCacheProtocol.cs
- TagNameToTypeMapper.cs
- XDRSchema.cs
- CustomPopupPlacement.cs
- FloaterBaseParagraph.cs
- XmlCharType.cs
- NodeInfo.cs
- InstanceDataCollectionCollection.cs
- UserControlBuildProvider.cs
- ViewBox.cs
- SafeFindHandle.cs