Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / 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
- UnSafeCharBuffer.cs
- AccessibleObject.cs
- ExpressionConverter.cs
- activationcontext.cs
- __Filters.cs
- CardSpacePolicyElement.cs
- OrderByQueryOptionExpression.cs
- MessageQueueConverter.cs
- EntityContainerAssociationSet.cs
- BitmapEffectDrawingContextWalker.cs
- PerfService.cs
- ResourceProviderFactory.cs
- SchemaImporterExtension.cs
- EnvelopedSignatureTransform.cs
- SqlPersonalizationProvider.cs
- Style.cs
- ToolStripItemDataObject.cs
- WindowVisualStateTracker.cs
- SequenceQuery.cs
- ResourcePart.cs
- XmlSiteMapProvider.cs
- DateTimeOffsetStorage.cs
- ConnectionManagementElementCollection.cs
- ViewStateException.cs
- FormatterServices.cs
- TransformationRules.cs
- SpinLock.cs
- HttpFileCollectionBase.cs
- TypeElement.cs
- HtmlImage.cs
- Menu.cs
- NativeCppClassAttribute.cs
- DbCommandTree.cs
- WindowsListViewSubItem.cs
- EarlyBoundInfo.cs
- RecordManager.cs
- BuildManagerHost.cs
- XPathMultyIterator.cs
- StorageInfo.cs
- COM2ColorConverter.cs
- LambdaCompiler.Generated.cs
- UTF8Encoding.cs
- WebPartTracker.cs
- GZipStream.cs
- ActivationArguments.cs
- DataGridViewMethods.cs
- LocalFileSettingsProvider.cs
- _NTAuthentication.cs
- DBPropSet.cs
- BamlBinaryWriter.cs
- Native.cs
- PTProvider.cs
- DateTimeFormat.cs
- DataServiceHostFactory.cs
- ListDictionary.cs
- RoleManagerSection.cs
- ConstNode.cs
- ScriptBehaviorDescriptor.cs
- CalendarDay.cs
- MarshalByValueComponent.cs
- unitconverter.cs
- ExpressionNode.cs
- ComponentRenameEvent.cs
- XmlObjectSerializerReadContextComplexJson.cs
- XmlBinaryReader.cs
- XPathChildIterator.cs
- MultiAsyncResult.cs
- Thumb.cs
- Animatable.cs
- TextBox.cs
- HttpsChannelListener.cs
- PageThemeBuildProvider.cs
- TemplateComponentConnector.cs
- WebServiceClientProxyGenerator.cs
- ContentElement.cs
- WindowVisualStateTracker.cs
- ComplexPropertyEntry.cs
- ProviderManager.cs
- EntityDataSourceSelectedEventArgs.cs
- ProxyWebPartManagerDesigner.cs
- HttpListenerPrefixCollection.cs
- DataServiceResponse.cs
- Line.cs
- FlowDocumentFormatter.cs
- AutoGeneratedFieldProperties.cs
- AssemblyAttributes.cs
- RoutedEventConverter.cs
- RuntimeConfig.cs
- EntityContainerEmitter.cs
- PropertyMetadata.cs
- MILUtilities.cs
- SapiRecognizer.cs
- CodeBlockBuilder.cs
- EventSinkHelperWriter.cs
- _Win32.cs
- ControlBindingsCollection.cs
- BehaviorEditorPart.cs
- SchemaTableOptionalColumn.cs
- ConfigurationValidatorBase.cs
- Inline.cs