Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SHA384CryptoServiceProvider.cs
- ScrollPattern.cs
- mediaeventargs.cs
- PerformanceCounterCategory.cs
- TreeViewAutomationPeer.cs
- StructuredTypeEmitter.cs
- XPathNodeIterator.cs
- ReferenceService.cs
- TextChange.cs
- EventDrivenDesigner.cs
- ApplyTemplatesAction.cs
- PieceDirectory.cs
- QilNode.cs
- TypeUsageBuilder.cs
- UnmanagedMemoryStream.cs
- ResXDataNode.cs
- ActiveXHelper.cs
- MimeFormatExtensions.cs
- odbcmetadatacolumnnames.cs
- CompositeActivityMarkupSerializer.cs
- RotationValidation.cs
- PcmConverter.cs
- RenderingEventArgs.cs
- OdbcConnectionOpen.cs
- ListMarkerSourceInfo.cs
- _ContextAwareResult.cs
- XmlCustomFormatter.cs
- XmlDataSource.cs
- SafeNativeMethodsMilCoreApi.cs
- wmiprovider.cs
- PreservationFileReader.cs
- IndexingContentUnit.cs
- PeoplePickerWrapper.cs
- DocumentViewerAutomationPeer.cs
- uribuilder.cs
- NativeMethods.cs
- StylusButtonEventArgs.cs
- ListBoxAutomationPeer.cs
- EntityStoreSchemaGenerator.cs
- SoapFormatExtensions.cs
- AbsoluteQuery.cs
- Misc.cs
- LoadItemsEventArgs.cs
- FixedPageStructure.cs
- RolePrincipal.cs
- HttpApplicationFactory.cs
- CreationContext.cs
- ExpressionEditorAttribute.cs
- VideoDrawing.cs
- BasicKeyConstraint.cs
- BulletDecorator.cs
- XmlSiteMapProvider.cs
- SiteMapSection.cs
- RectangleGeometry.cs
- _NetworkingPerfCounters.cs
- IsolatedStorageFilePermission.cs
- DrawListViewColumnHeaderEventArgs.cs
- SchemaType.cs
- Accessible.cs
- Attributes.cs
- iisPickupDirectory.cs
- Int16KeyFrameCollection.cs
- Identifier.cs
- BrowserCapabilitiesCodeGenerator.cs
- FixedElement.cs
- ForwardPositionQuery.cs
- BlurEffect.cs
- RtType.cs
- UnsafeNativeMethods.cs
- ServiceTimeoutsElement.cs
- SerializationFieldInfo.cs
- SmiConnection.cs
- ModelUIElement3D.cs
- ComboBoxDesigner.cs
- XmlSortKey.cs
- SetterBaseCollection.cs
- InstanceLockTracking.cs
- PenLineCapValidation.cs
- MetadataArtifactLoaderFile.cs
- ColumnBinding.cs
- NotificationContext.cs
- QilLoop.cs
- DataGridViewToolTip.cs
- InlinedAggregationOperatorEnumerator.cs
- RepeatBehaviorConverter.cs
- ResourceExpressionBuilder.cs
- ListBox.cs
- ApplicationActivator.cs
- TextSegment.cs
- DataTableMapping.cs
- GraphicsContext.cs
- ReversePositionQuery.cs
- PolyLineSegment.cs
- RC2.cs
- InfocardClientCredentials.cs
- EventLogWatcher.cs
- MultilineStringConverter.cs
- DataGridViewCellEventArgs.cs
- GiveFeedbackEvent.cs
- SchemaCollectionPreprocessor.cs