Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / 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
- CodeDelegateInvokeExpression.cs
- InfoCardKeyedHashAlgorithm.cs
- JsonDataContract.cs
- HtmlWindowCollection.cs
- SqlDataSourceCustomCommandPanel.cs
- LoginCancelEventArgs.cs
- ImageAnimator.cs
- FocusManager.cs
- CopyOnWriteList.cs
- CheckedPointers.cs
- XmlSerializerAssemblyAttribute.cs
- EndPoint.cs
- BinHexEncoding.cs
- CallbackDebugBehavior.cs
- mongolianshape.cs
- HtmlTableRow.cs
- DefaultValueConverter.cs
- UserPreferenceChangedEventArgs.cs
- SystemGatewayIPAddressInformation.cs
- ProbeDuplex11AsyncResult.cs
- CodeTypeDeclaration.cs
- XmlStreamNodeWriter.cs
- BamlMapTable.cs
- RunWorkerCompletedEventArgs.cs
- ProcessThread.cs
- CodeDirectionExpression.cs
- SafeThemeHandle.cs
- CssClassPropertyAttribute.cs
- ShaperBuffers.cs
- ServiceMetadataExtension.cs
- StateDesigner.Layouts.cs
- TopClause.cs
- MergeEnumerator.cs
- CodeTypeReference.cs
- xamlnodes.cs
- ClientType.cs
- ListItemConverter.cs
- ObjectDataSourceFilteringEventArgs.cs
- DesignTimeParseData.cs
- DoubleCollection.cs
- PropertySourceInfo.cs
- TraceHandlerErrorFormatter.cs
- QualificationDataAttribute.cs
- Walker.cs
- Mappings.cs
- InvalidProgramException.cs
- CheckableControlBaseAdapter.cs
- ContextMenuStripGroup.cs
- ValidatingReaderNodeData.cs
- TypeContext.cs
- DataListItemEventArgs.cs
- HttpsChannelFactory.cs
- Cursors.cs
- LazyInitializer.cs
- PropertyMapper.cs
- AcceleratedTokenProviderState.cs
- CounterCreationDataCollection.cs
- Error.cs
- XmlUrlResolver.cs
- AssemblyCache.cs
- TableSectionStyle.cs
- SystemInformation.cs
- SqlProviderServices.cs
- DownloadProgressEventArgs.cs
- FigureHelper.cs
- ModelPropertyImpl.cs
- MetadataArtifactLoaderCompositeResource.cs
- CompleteWizardStep.cs
- WebSysDescriptionAttribute.cs
- TextSpanModifier.cs
- CustomWebEventKey.cs
- WorkflowOperationInvoker.cs
- EntryPointNotFoundException.cs
- XmlSchemaExternal.cs
- EdmType.cs
- RepeaterCommandEventArgs.cs
- ValidatingReaderNodeData.cs
- TextElement.cs
- ScrollChangedEventArgs.cs
- SemaphoreFullException.cs
- XmlNotation.cs
- TCPListener.cs
- LocalValueEnumerator.cs
- NamespaceImport.cs
- UrlPropertyAttribute.cs
- FlowchartDesignerCommands.cs
- IndexingContentUnit.cs
- PartialCachingAttribute.cs
- PersianCalendar.cs
- ClassHandlersStore.cs
- WithParamAction.cs
- SQLGuid.cs
- PolicyAssertionCollection.cs
- InputLangChangeEvent.cs
- SendActivityDesignerTheme.cs
- CqlErrorHelper.cs
- XmlElementAttributes.cs
- Switch.cs
- ThumbButtonInfoCollection.cs
- HandleExceptionArgs.cs