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
- RadioButtonList.cs
- LicenseProviderAttribute.cs
- QueryCacheEntry.cs
- HuffmanTree.cs
- AutomationFocusChangedEventArgs.cs
- FixedPage.cs
- ReachSerializerAsync.cs
- peersecurityelement.cs
- XmlSignatureManifest.cs
- DodSequenceMerge.cs
- Listbox.cs
- unsafenativemethodstextservices.cs
- PackagePart.cs
- Attributes.cs
- DataGridViewEditingControlShowingEventArgs.cs
- StorageFunctionMapping.cs
- VirtualPathUtility.cs
- HighlightOverlayGlyph.cs
- HostAdapter.cs
- PropertyDescriptorComparer.cs
- GridViewCommandEventArgs.cs
- SortDescription.cs
- DefaultAssemblyResolver.cs
- BaseInfoTable.cs
- EditorBrowsableAttribute.cs
- SystemDiagnosticsSection.cs
- XpsImageSerializationService.cs
- Marshal.cs
- SignatureToken.cs
- DPAPIProtectedConfigurationProvider.cs
- GeneratedCodeAttribute.cs
- Helpers.cs
- ResolvedKeyFrameEntry.cs
- SQLDateTimeStorage.cs
- SubclassTypeValidator.cs
- SchemaCollectionCompiler.cs
- Classification.cs
- StateDesigner.cs
- WindowsIPAddress.cs
- TypeConverterAttribute.cs
- PhonemeEventArgs.cs
- ValidationRuleCollection.cs
- ToolStripLocationCancelEventArgs.cs
- HashCodeCombiner.cs
- SplitterCancelEvent.cs
- XamlSerializationHelper.cs
- PersonalizationProviderHelper.cs
- HwndProxyElementProvider.cs
- Compiler.cs
- QueuePathDialog.cs
- StyleConverter.cs
- UnhandledExceptionEventArgs.cs
- CacheAxisQuery.cs
- _NTAuthentication.cs
- SR.cs
- BitmapCacheBrush.cs
- XmlAttributeAttribute.cs
- EnterpriseServicesHelper.cs
- SqlDataSourceWizardForm.cs
- EmptyEnumerator.cs
- QueryExpr.cs
- ConfigXmlText.cs
- ExpressionTable.cs
- LowerCaseStringConverter.cs
- EncodingDataItem.cs
- StrokeRenderer.cs
- FlowDocumentFormatter.cs
- UnionExpr.cs
- CompModSwitches.cs
- PasswordRecovery.cs
- SequenceNumber.cs
- _NTAuthentication.cs
- RepeaterCommandEventArgs.cs
- NavigationWindowAutomationPeer.cs
- TargetControlTypeCache.cs
- ProviderUtil.cs
- StateDesigner.cs
- DateTimeParse.cs
- HashSetEqualityComparer.cs
- PointCollectionValueSerializer.cs
- Parallel.cs
- ApplicationDirectory.cs
- EditingCommands.cs
- DBCSCodePageEncoding.cs
- COM2ColorConverter.cs
- InternalUserCancelledException.cs
- HeaderedContentControl.cs
- PKCS1MaskGenerationMethod.cs
- UndoEngine.cs
- CursorInteropHelper.cs
- SqlDataSourceCache.cs
- EnumDataContract.cs
- recordstate.cs
- DBConnection.cs
- HttpCapabilitiesEvaluator.cs
- NGCSerializer.cs
- OleDbConnectionFactory.cs
- PlaceHolder.cs
- LinkUtilities.cs
- XPathNodeInfoAtom.cs