Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Configuration / 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
- DataGridBoolColumn.cs
- PropertyChangedEventArgs.cs
- TypeUtil.cs
- NativeMethods.cs
- SafeMILHandle.cs
- ListMarkerSourceInfo.cs
- StringAttributeCollection.cs
- ImagingCache.cs
- FontUnitConverter.cs
- InternalResources.cs
- StylusPlugInCollection.cs
- Preprocessor.cs
- Calendar.cs
- EqualityComparer.cs
- GcSettings.cs
- Operators.cs
- ToolZone.cs
- RegexInterpreter.cs
- RadioButtonStandardAdapter.cs
- RowUpdatedEventArgs.cs
- UpDownBase.cs
- HttpsHostedTransportConfiguration.cs
- PersonalizationState.cs
- AttachedAnnotation.cs
- FtpRequestCacheValidator.cs
- WebPartMovingEventArgs.cs
- EncryptedPackage.cs
- XmlDocument.cs
- WindowProviderWrapper.cs
- CleanUpVirtualizedItemEventArgs.cs
- ILGenerator.cs
- ArgumentNullException.cs
- WindowsSpinner.cs
- AutoGeneratedField.cs
- PropertyPathConverter.cs
- HttpModulesSection.cs
- MethodBody.cs
- ByteStorage.cs
- SoapAttributes.cs
- RelatedCurrencyManager.cs
- RuleInfoComparer.cs
- Soap.cs
- SignatureDescription.cs
- GetChildSubtree.cs
- SafeProcessHandle.cs
- ForceCopyBuildProvider.cs
- ReadOnlyTernaryTree.cs
- MULTI_QI.cs
- SettingsPropertyValueCollection.cs
- QilTargetType.cs
- ToolStripItem.cs
- SoapAttributeOverrides.cs
- OleDbInfoMessageEvent.cs
- SqlParameterizer.cs
- SafeNativeMethods.cs
- NetworkInterface.cs
- DataGridComponentEditor.cs
- DataGridViewIntLinkedList.cs
- AssociationSetMetadata.cs
- DiffuseMaterial.cs
- DispatcherSynchronizationContext.cs
- NameTable.cs
- HttpAsyncResult.cs
- TreeViewImageGenerator.cs
- ConnectionManagementSection.cs
- TableLayoutPanelBehavior.cs
- CalendarData.cs
- Stroke.cs
- ArrayConverter.cs
- ObjectListDataBindEventArgs.cs
- TypefaceCollection.cs
- CFGGrammar.cs
- DomainLiteralReader.cs
- GregorianCalendar.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- PostBackOptions.cs
- mansign.cs
- Pair.cs
- SerialStream.cs
- RegexGroup.cs
- ControlParameter.cs
- TemplateControlParser.cs
- OpCopier.cs
- FormsAuthenticationConfiguration.cs
- storepermissionattribute.cs
- SctClaimDictionary.cs
- WebBrowserContainer.cs
- wmiprovider.cs
- AnnotationAuthorChangedEventArgs.cs
- SHA512Managed.cs
- DesignConnectionCollection.cs
- ZipIOLocalFileBlock.cs
- Duration.cs
- MouseDevice.cs
- MaterialCollection.cs
- CryptoConfig.cs
- XslAst.cs
- LinkClickEvent.cs
- EncryptedKey.cs
- StringStorage.cs