Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Configuration / System / Configuration / ConfigXmlWhitespace.cs / 1 / ConfigXmlWhitespace.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 ConfigXmlWhitespace : XmlWhitespace, IConfigErrorInfo { public ConfigXmlWhitespace( string filename, int line, string comment, XmlDocument doc ) : base( comment, 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); ConfigXmlWhitespace clone = cloneNode as ConfigXmlWhitespace; 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 ConfigXmlWhitespace : XmlWhitespace, IConfigErrorInfo { public ConfigXmlWhitespace( string filename, int line, string comment, XmlDocument doc ) : base( comment, 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); ConfigXmlWhitespace clone = cloneNode as ConfigXmlWhitespace; 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
- SR.cs
- PropertyDescriptorGridEntry.cs
- XmlSchemaGroupRef.cs
- Version.cs
- FixedSOMLineCollection.cs
- WebRequestModuleElementCollection.cs
- NotifyParentPropertyAttribute.cs
- EventLogPropertySelector.cs
- ContentPlaceHolder.cs
- Baml6ConstructorInfo.cs
- ImageListStreamer.cs
- ApplicationDirectoryMembershipCondition.cs
- SendActivity.cs
- TextParagraphProperties.cs
- SequentialUshortCollection.cs
- MetadataArtifactLoaderFile.cs
- AuthenticatingEventArgs.cs
- DataGridViewRowCancelEventArgs.cs
- Drawing.cs
- CodeTypeParameterCollection.cs
- CompilerResults.cs
- InlineUIContainer.cs
- ServiceBuildProvider.cs
- HexParser.cs
- WSTrust.cs
- DataGridPageChangedEventArgs.cs
- WebBrowserSiteBase.cs
- MasterPageParser.cs
- MenuTracker.cs
- RewritingSimplifier.cs
- MenuCommand.cs
- XmlUtil.cs
- RepeaterCommandEventArgs.cs
- FlowDocumentView.cs
- Property.cs
- SizeAnimationBase.cs
- OutputCacheProfile.cs
- OuterGlowBitmapEffect.cs
- EnumerableValidator.cs
- PolicyManager.cs
- SafeHandle.cs
- SqlUdtInfo.cs
- WindowsTooltip.cs
- BitmapEffectInput.cs
- TypedDataSetSchemaImporterExtension.cs
- DESCryptoServiceProvider.cs
- COM2ComponentEditor.cs
- Collection.cs
- elementinformation.cs
- UpdatePanelTrigger.cs
- ValidationEventArgs.cs
- KeyTime.cs
- PeerCollaborationPermission.cs
- listitem.cs
- _AutoWebProxyScriptHelper.cs
- TextTreeText.cs
- AesCryptoServiceProvider.cs
- ExtendLockAsyncResult.cs
- TextBlockAutomationPeer.cs
- SpeechSeg.cs
- HandlerBase.cs
- Parsers.cs
- StorageComplexPropertyMapping.cs
- RayHitTestParameters.cs
- COM2ExtendedBrowsingHandler.cs
- XmlSerializerAssemblyAttribute.cs
- MethodBuilder.cs
- TextEmbeddedObject.cs
- TransportationConfigurationTypeInstallComponent.cs
- SemaphoreSecurity.cs
- RoutedEventArgs.cs
- mediaeventargs.cs
- ModelItemDictionary.cs
- WeakRefEnumerator.cs
- SimpleWebHandlerParser.cs
- AccessControlList.cs
- CssStyleCollection.cs
- RequiredFieldValidator.cs
- WebEvents.cs
- Adorner.cs
- NumberFunctions.cs
- XamlToRtfWriter.cs
- webbrowsersite.cs
- FixedSOMGroup.cs
- DesignTable.cs
- FontWeight.cs
- UInt16.cs
- ConnectionPointCookie.cs
- Aggregates.cs
- WebBrowserNavigatingEventHandler.cs
- HtmlImage.cs
- DiscoveryDocumentLinksPattern.cs
- PagerStyle.cs
- DataGridItem.cs
- DataRelation.cs
- ThreadExceptionEvent.cs
- TimeSpanValidator.cs
- ScriptManager.cs
- WorkflowPersistenceService.cs
- MetricEntry.cs