Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Int32KeyFrameCollection.cs
- DiscriminatorMap.cs
- RequestCachePolicy.cs
- ProtocolViolationException.cs
- AttributeEmitter.cs
- List.cs
- Int32Collection.cs
- KeyMatchBuilder.cs
- HitTestParameters.cs
- ValidateNames.cs
- RealizationContext.cs
- BasePropertyDescriptor.cs
- DataSetUtil.cs
- ResourceProviderFactory.cs
- SslStream.cs
- GroupBoxRenderer.cs
- GridSplitterAutomationPeer.cs
- NetDataContractSerializer.cs
- XmlUnspecifiedAttribute.cs
- FatalException.cs
- ProxyGenerator.cs
- ViewValidator.cs
- RelationshipEndMember.cs
- XamlStream.cs
- log.cs
- WindowsStartMenu.cs
- X509ChainPolicy.cs
- ColumnClickEvent.cs
- FragmentQueryProcessor.cs
- GridViewSortEventArgs.cs
- XmlEncodedRawTextWriter.cs
- Transform3DGroup.cs
- SecurityPolicyVersion.cs
- BamlTreeNode.cs
- _SSPIWrapper.cs
- GridToolTip.cs
- BitmapEffectInputConnector.cs
- ClientTargetSection.cs
- GridView.cs
- SystemPens.cs
- TimeStampChecker.cs
- ProtocolsConfigurationHandler.cs
- OracleConnection.cs
- TraceUtility.cs
- Substitution.cs
- CqlBlock.cs
- Stopwatch.cs
- MediaElement.cs
- QuerySettings.cs
- MethodRental.cs
- InheritanceContextChangedEventManager.cs
- TemplateBuilder.cs
- _AuthenticationState.cs
- Msec.cs
- TextEditorThreadLocalStore.cs
- XmlDataDocument.cs
- WebSysDisplayNameAttribute.cs
- DesignerActionUI.cs
- WSUtilitySpecificationVersion.cs
- IPGlobalProperties.cs
- StrongNameUtility.cs
- SerializationAttributes.cs
- LambdaExpression.cs
- DataIdProcessor.cs
- TypeHelpers.cs
- ViewManager.cs
- MessageVersionConverter.cs
- DataKeyCollection.cs
- TypeLoadException.cs
- Button.cs
- UnauthorizedAccessException.cs
- XslTransform.cs
- BamlRecords.cs
- PixelShader.cs
- AggregateException.cs
- ThreadPool.cs
- TabPanel.cs
- RSAOAEPKeyExchangeFormatter.cs
- CodeTryCatchFinallyStatement.cs
- FlagsAttribute.cs
- SiteMapDataSourceDesigner.cs
- TTSEngineProxy.cs
- HttpContextServiceHost.cs
- DeferredSelectedIndexReference.cs
- DataFormat.cs
- ObjectListItemCollection.cs
- DelegateSerializationHolder.cs
- SynchronizationLockException.cs
- ElementHost.cs
- MarkupCompiler.cs
- StrokeNodeData.cs
- InvalidContentTypeException.cs
- ImageUrlEditor.cs
- OdbcConnectionPoolProviderInfo.cs
- WebPartConnectVerb.cs
- CodeExpressionRuleDeclaration.cs
- TreeViewImageIndexConverter.cs
- HScrollProperties.cs
- CharUnicodeInfo.cs
- TableLayoutPanel.cs