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
- HttpException.cs
- Stack.cs
- ListMarkerSourceInfo.cs
- FormatControl.cs
- ClientSponsor.cs
- Qualifier.cs
- CreateUserWizardStep.cs
- ResolveNameEventArgs.cs
- BinaryFormatterSinks.cs
- NoPersistProperty.cs
- DateTimeOffset.cs
- ListViewDeleteEventArgs.cs
- PathSegment.cs
- ActivityInterfaces.cs
- DataIdProcessor.cs
- PrimitiveDataContract.cs
- HttpHeaderCollection.cs
- WpfPayload.cs
- UnsafeNativeMethods.cs
- CompiledXpathExpr.cs
- StringFunctions.cs
- ClosableStream.cs
- PropertyPath.cs
- VisualTransition.cs
- XmlCharType.cs
- FrameworkElement.cs
- ListenUriMode.cs
- ForeignKeyConstraint.cs
- MemoryPressure.cs
- DataGridRow.cs
- AmbiguousMatchException.cs
- TagPrefixCollection.cs
- WorkflowMarkupSerializer.cs
- EncoderFallback.cs
- SessionEndedEventArgs.cs
- SqlDeflator.cs
- TextTreeUndo.cs
- ExternalException.cs
- TemplateColumn.cs
- BamlRecords.cs
- UniformGrid.cs
- SQLDecimalStorage.cs
- DynamicActivityProperty.cs
- FormsAuthenticationEventArgs.cs
- CodeMemberField.cs
- BrowserDefinition.cs
- SelectionProviderWrapper.cs
- FrameworkObject.cs
- SHA512Managed.cs
- Configuration.cs
- FilterFactory.cs
- WindowsListViewItemCheckBox.cs
- SqlDataSourceEnumerator.cs
- EventLogPermission.cs
- ResourceSet.cs
- SystemIcons.cs
- MessagePartDescription.cs
- ReadContentAsBinaryHelper.cs
- CodeDirectoryCompiler.cs
- InvokePatternIdentifiers.cs
- ObjectListCommandEventArgs.cs
- PtsPage.cs
- EntryPointNotFoundException.cs
- __ComObject.cs
- DataGridColumn.cs
- WebPartConnectionsDisconnectVerb.cs
- Deflater.cs
- MetaTableHelper.cs
- ComponentDispatcher.cs
- PositiveTimeSpanValidatorAttribute.cs
- TextElementCollectionHelper.cs
- SqlUDTStorage.cs
- AppDomainAttributes.cs
- ValueConversionAttribute.cs
- XmlSignatureProperties.cs
- dbenumerator.cs
- WindowsHyperlink.cs
- AsyncResult.cs
- XamlTemplateSerializer.cs
- PrePostDescendentsWalker.cs
- Model3DGroup.cs
- HtmlImageAdapter.cs
- WebPageTraceListener.cs
- CodeRegionDirective.cs
- ValidationErrorCollection.cs
- VBIdentifierNameEditor.cs
- ExpressionTextBoxAutomationPeer.cs
- RecognizeCompletedEventArgs.cs
- FileAccessException.cs
- JsonStringDataContract.cs
- DBCommand.cs
- DataControlImageButton.cs
- BooleanStorage.cs
- ComponentResourceKeyConverter.cs
- BrushValueSerializer.cs
- LayoutUtils.cs
- WSSecureConversationDec2005.cs
- TypeSystem.cs
- StringValueSerializer.cs
- AuthenticationSection.cs