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
- BehaviorDragDropEventArgs.cs
- xsdvalidator.cs
- FtpWebRequest.cs
- TopClause.cs
- BooleanToVisibilityConverter.cs
- XamlSerializationHelper.cs
- NetworkInterface.cs
- FormsAuthenticationTicket.cs
- GridViewUpdatedEventArgs.cs
- PasswordTextNavigator.cs
- HttpConfigurationSystem.cs
- StringInfo.cs
- ContentType.cs
- ToolStripSettings.cs
- CachedPathData.cs
- LostFocusEventManager.cs
- ListDictionaryInternal.cs
- ClientFactory.cs
- MDIControlStrip.cs
- XmlBufferReader.cs
- ExpressionEditorSheet.cs
- VectorCollection.cs
- DataGridItemEventArgs.cs
- securestring.cs
- SkinBuilder.cs
- FlowNode.cs
- Rule.cs
- DBCommandBuilder.cs
- FileStream.cs
- MetabaseServerConfig.cs
- SweepDirectionValidation.cs
- BamlLocalizabilityResolver.cs
- DataMemberConverter.cs
- ReferentialConstraint.cs
- CommandDevice.cs
- ModelPerspective.cs
- DesignTimeParseData.cs
- ThicknessAnimation.cs
- IdleTimeoutMonitor.cs
- DashStyles.cs
- Maps.cs
- AdRotator.cs
- DbExpressionVisitor.cs
- DeleteHelper.cs
- TemplateEditingFrame.cs
- SspiNegotiationTokenAuthenticator.cs
- BadImageFormatException.cs
- CTreeGenerator.cs
- OleCmdHelper.cs
- KeyValueSerializer.cs
- Selector.cs
- TagPrefixCollection.cs
- OutputCacheModule.cs
- XmlTextReaderImplHelpers.cs
- LambdaCompiler.Unary.cs
- WebBrowserDocumentCompletedEventHandler.cs
- LinkArea.cs
- TextMessageEncodingElement.cs
- SqlCacheDependencyDatabaseCollection.cs
- SatelliteContractVersionAttribute.cs
- StreamUpgradeProvider.cs
- ArraySortHelper.cs
- ReverseInheritProperty.cs
- Util.cs
- CompensatableTransactionScopeActivityDesigner.cs
- KeyConstraint.cs
- BatchStream.cs
- OleDbErrorCollection.cs
- Debug.cs
- ResourceDescriptionAttribute.cs
- EntryPointNotFoundException.cs
- XmlnsDictionary.cs
- DynamicRenderer.cs
- PrimitiveXmlSerializers.cs
- FileStream.cs
- CodeSnippetTypeMember.cs
- AppDomainUnloadedException.cs
- Calendar.cs
- WebPartPersonalization.cs
- HttpCachePolicyElement.cs
- UIElement3DAutomationPeer.cs
- PolyQuadraticBezierSegment.cs
- TypePropertyEditor.cs
- HttpWebResponse.cs
- LabelAutomationPeer.cs
- InternalCache.cs
- TimeSpanMinutesConverter.cs
- TableLayoutSettings.cs
- DataFormats.cs
- smtppermission.cs
- InvalidWMPVersionException.cs
- GiveFeedbackEvent.cs
- ObjectDataProvider.cs
- InvalidContentTypeException.cs
- DataSvcMapFile.cs
- GeneralTransform3DGroup.cs
- FixedTextPointer.cs
- Request.cs
- UIElement.cs
- MachineKey.cs