Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / Configuration / ConfigXmlSignificantWhitespace.cs / 1305376 / ConfigXmlSignificantWhitespace.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 ConfigXmlSignificantWhitespace : XmlSignificantWhitespace, IConfigErrorInfo { public ConfigXmlSignificantWhitespace(string filename, int line, string strData, XmlDocument doc) : base(strData, doc) { _line = line; _filename = filename; } int _line; string _filename; int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlSignificantWhitespace clone = cloneNode as ConfigXmlSignificantWhitespace; 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 ConfigXmlSignificantWhitespace : XmlSignificantWhitespace, IConfigErrorInfo { public ConfigXmlSignificantWhitespace(string filename, int line, string strData, XmlDocument doc) : base(strData, doc) { _line = line; _filename = filename; } int _line; string _filename; int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlSignificantWhitespace clone = cloneNode as ConfigXmlSignificantWhitespace; 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
- DocumentViewerBaseAutomationPeer.cs
- TCPClient.cs
- _HeaderInfoTable.cs
- CacheMemory.cs
- ClientRoleProvider.cs
- PersonalizationProviderHelper.cs
- ActiveXHelper.cs
- FormClosedEvent.cs
- ValidationSummary.cs
- SchemaElement.cs
- VBIdentifierDesigner.xaml.cs
- DataSvcMapFile.cs
- RtfToken.cs
- SystemWebCachingSectionGroup.cs
- ContentFileHelper.cs
- CachingHintValidation.cs
- SecurityListenerSettingsLifetimeManager.cs
- InstanceCompleteException.cs
- TCEAdapterGenerator.cs
- CodeBlockBuilder.cs
- SimpleExpression.cs
- RequestCacheManager.cs
- XPathMultyIterator.cs
- DropShadowBitmapEffect.cs
- ResourceProviderFactory.cs
- ProfileGroupSettings.cs
- FixedBufferAttribute.cs
- WebPartConnectVerb.cs
- CompositeActivityTypeDescriptorProvider.cs
- Behavior.cs
- PrinterUnitConvert.cs
- SchemaCollectionPreprocessor.cs
- SyndicationFeed.cs
- XmlSchemaAnyAttribute.cs
- WithParamAction.cs
- MaterialGroup.cs
- EntityContainerEmitter.cs
- InvokerUtil.cs
- DesignerToolStripControlHost.cs
- MimeTypeMapper.cs
- SoapIncludeAttribute.cs
- GAC.cs
- SecurityCriticalDataForSet.cs
- SpotLight.cs
- XPathDocumentIterator.cs
- ToolStripDropDownClosingEventArgs.cs
- ListBox.cs
- DataGridView.cs
- FormatterConverter.cs
- LinqDataSourceValidationException.cs
- UriExt.cs
- BindMarkupExtensionSerializer.cs
- EditingMode.cs
- Button.cs
- DebugView.cs
- RelationshipEndMember.cs
- SafeNativeMethods.cs
- WindowsGraphicsCacheManager.cs
- DataTableClearEvent.cs
- ThemeDictionaryExtension.cs
- CodeCompiler.cs
- ClipboardProcessor.cs
- ToggleButton.cs
- ListItemCollection.cs
- PerformanceCounterTraceRecord.cs
- MenuBase.cs
- SqlCrossApplyToCrossJoin.cs
- DataBoundControl.cs
- PhysicalAddress.cs
- Typeface.cs
- SafeRegistryHandle.cs
- InfoCardSymmetricCrypto.cs
- DrawListViewColumnHeaderEventArgs.cs
- GetPageNumberCompletedEventArgs.cs
- ExpressionQuoter.cs
- InternalUserCancelledException.cs
- ProtocolsConfiguration.cs
- OptimizedTemplateContent.cs
- AssemblyResourceLoader.cs
- UmAlQuraCalendar.cs
- Int16Converter.cs
- RowsCopiedEventArgs.cs
- HtmlWindowCollection.cs
- BitmapPalettes.cs
- CurrencyManager.cs
- ProgressBarBrushConverter.cs
- TextElementEnumerator.cs
- EntitySetBase.cs
- GridViewSelectEventArgs.cs
- ConfigurationStrings.cs
- PropertyChangedEventArgs.cs
- DataObject.cs
- XmlReflectionImporter.cs
- SessionIDManager.cs
- TextEditor.cs
- Missing.cs
- ListViewCommandEventArgs.cs
- StreamGeometry.cs
- AppearanceEditorPart.cs
- EditorPart.cs