Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- Range.cs
- CommonDialog.cs
- WSDualHttpBindingCollectionElement.cs
- SHA1CryptoServiceProvider.cs
- GlyphShapingProperties.cs
- PropertyChangeTracker.cs
- ConfigurationElement.cs
- HiddenFieldPageStatePersister.cs
- StreamWriter.cs
- Size.cs
- StylusTip.cs
- LoginView.cs
- Hash.cs
- HashCodeCombiner.cs
- DeclarativeConditionsCollection.cs
- XmlWriter.cs
- RelOps.cs
- DataGridHeaderBorder.cs
- ExecutionEngineException.cs
- Utils.cs
- MyContact.cs
- WebServiceMethodData.cs
- DataBoundControlActionList.cs
- TreeViewItemAutomationPeer.cs
- DefaultTraceListener.cs
- ADMembershipProvider.cs
- Bits.cs
- DataSourceHelper.cs
- DesignerTransactionCloseEvent.cs
- MobileCapabilities.cs
- BatchParser.cs
- PenLineJoinValidation.cs
- DesignerLoader.cs
- TreeView.cs
- FormsAuthenticationModule.cs
- AbstractExpressions.cs
- TextCompositionManager.cs
- RuntimeResourceSet.cs
- GeneratedCodeAttribute.cs
- ConsumerConnectionPointCollection.cs
- HttpRequestWrapper.cs
- MenuItem.cs
- XmlNullResolver.cs
- BrowserCapabilitiesFactory.cs
- MessagePartDescriptionCollection.cs
- FontConverter.cs
- WebPartVerbCollection.cs
- XPathScanner.cs
- DataError.cs
- ReadOnlyDataSource.cs
- DynamicFilter.cs
- WindowCollection.cs
- Rules.cs
- MatrixStack.cs
- WinFormsComponentEditor.cs
- Dump.cs
- ListViewUpdatedEventArgs.cs
- DataSourceHelper.cs
- HandlerFactoryWrapper.cs
- GenericPrincipal.cs
- AnnotationResourceChangedEventArgs.cs
- JsonDeserializer.cs
- Trace.cs
- UInt64Converter.cs
- CorrelationManager.cs
- TreeViewDesigner.cs
- ActivityBuilderHelper.cs
- JsonDeserializer.cs
- HttpHandlerActionCollection.cs
- SqlDependency.cs
- CreatingCookieEventArgs.cs
- PrintPreviewGraphics.cs
- DataGridViewButtonColumn.cs
- OpCodes.cs
- ImageListStreamer.cs
- NullableConverter.cs
- DoubleLinkListEnumerator.cs
- OdbcCommandBuilder.cs
- StrokeNodeOperations.cs
- XmlChildNodes.cs
- WebPartConnectionsCancelVerb.cs
- CopyEncoder.cs
- StagingAreaInputItem.cs
- XPathSelfQuery.cs
- ConfigXmlWhitespace.cs
- XsltSettings.cs
- Matrix3DStack.cs
- PageThemeParser.cs
- FunctionNode.cs
- DecoderBestFitFallback.cs
- Parser.cs
- SiteMapPath.cs
- HttpListenerContext.cs
- nulltextcontainer.cs
- RepeatEnumerable.cs
- coordinatorfactory.cs
- BindingOperations.cs
- ClipboardData.cs
- EntityParameter.cs
- ScrollEvent.cs