Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Sys / 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
- SqlColumnizer.cs
- EventlogProvider.cs
- SiteMapNode.cs
- DataControlFieldCell.cs
- NameSpaceExtractor.cs
- DeviceContext.cs
- SettingsProviderCollection.cs
- COM2PropertyBuilderUITypeEditor.cs
- BuilderPropertyEntry.cs
- RelatedPropertyManager.cs
- DrawingContextDrawingContextWalker.cs
- KnownBoxes.cs
- MergePropertyDescriptor.cs
- RuleSetCollection.cs
- ModuleBuilder.cs
- TextParagraphView.cs
- XpsFont.cs
- StylusLogic.cs
- MouseButtonEventArgs.cs
- StateBag.cs
- StorageBasedPackageProperties.cs
- DesignerDataStoredProcedure.cs
- DrawingGroup.cs
- BitStream.cs
- IndicFontClient.cs
- RuntimeResourceSet.cs
- AgileSafeNativeMemoryHandle.cs
- AlignmentXValidation.cs
- ServicePointManagerElement.cs
- TypePropertyEditor.cs
- XmlDownloadManager.cs
- GlobalizationSection.cs
- BufferedResponseStream.cs
- BoundColumn.cs
- Parameter.cs
- StringValueSerializer.cs
- ValidationSummary.cs
- DBSchemaTable.cs
- Missing.cs
- Track.cs
- TextChangedEventArgs.cs
- PersonalizationDictionary.cs
- DesignerDataColumn.cs
- XmlStringTable.cs
- LowerCaseStringConverter.cs
- Rijndael.cs
- GraphicsState.cs
- SyndicationDeserializer.cs
- SurrogateEncoder.cs
- SID.cs
- WebPartCollection.cs
- ProfileService.cs
- QilSortKey.cs
- Triangle.cs
- App.cs
- TagMapInfo.cs
- XmlAnyElementAttributes.cs
- ContextStack.cs
- RecognizedPhrase.cs
- CommandExpr.cs
- CustomServiceCredentials.cs
- login.cs
- TextRangeEditLists.cs
- PriorityQueue.cs
- CreateUserErrorEventArgs.cs
- SqlCacheDependencyDatabaseCollection.cs
- StrokeNodeOperations2.cs
- PrivateFontCollection.cs
- NamespaceTable.cs
- CommandManager.cs
- InvalidEnumArgumentException.cs
- SplitContainerDesigner.cs
- InvokePattern.cs
- Repeater.cs
- DependencyPropertyKind.cs
- WizardForm.cs
- TabItemAutomationPeer.cs
- XmlSubtreeReader.cs
- MarkerProperties.cs
- XmlUnspecifiedAttribute.cs
- PolygonHotSpot.cs
- SymbolEqualComparer.cs
- PropertyGeneratedEventArgs.cs
- ValueSerializerAttribute.cs
- InstanceView.cs
- Image.cs
- SplashScreen.cs
- HttpCookieCollection.cs
- ContextMenu.cs
- WebBrowserDocumentCompletedEventHandler.cs
- Rect3D.cs
- SymbolEqualComparer.cs
- EventRecordWrittenEventArgs.cs
- Help.cs
- XmlDocumentSerializer.cs
- SqlTrackingQuery.cs
- SQLSingle.cs
- StrongName.cs
- WinFormsComponentEditor.cs
- PenLineCapValidation.cs