Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- Baml2006KnownTypes.cs
- NodeFunctions.cs
- SetStoryboardSpeedRatio.cs
- Win32.cs
- EditableTreeList.cs
- ValidationUtility.cs
- Composition.cs
- Operators.cs
- EntityViewGenerationAttribute.cs
- ApplicationId.cs
- CodeSnippetExpression.cs
- AxImporter.cs
- BamlLocalizer.cs
- ChannelPoolSettings.cs
- ImportOptions.cs
- BoundPropertyEntry.cs
- DirectoryLocalQuery.cs
- ToolStripItemDesigner.cs
- CallSiteOps.cs
- InputMethodStateTypeInfo.cs
- WorkflowServiceHostFactory.cs
- DataPagerCommandEventArgs.cs
- Timeline.cs
- NativeMethods.cs
- DataGridViewIntLinkedList.cs
- Missing.cs
- SafeRightsManagementHandle.cs
- DataGrid.cs
- TableRow.cs
- Types.cs
- EventToken.cs
- TriggerBase.cs
- XmlImplementation.cs
- SQLBytesStorage.cs
- FormatterServices.cs
- DataColumnMapping.cs
- _NativeSSPI.cs
- WmpBitmapDecoder.cs
- WinFormsUtils.cs
- DurableInstanceProvider.cs
- CategoryState.cs
- InteropTrackingRecord.cs
- SmtpTransport.cs
- MeasureItemEvent.cs
- StateItem.cs
- RoleManagerModule.cs
- InputScopeManager.cs
- ErrorWebPart.cs
- DefaultWorkflowLoaderService.cs
- PartitionedStreamMerger.cs
- ListViewItemMouseHoverEvent.cs
- WebScriptServiceHost.cs
- DriveNotFoundException.cs
- rsa.cs
- AssemblyBuilder.cs
- WorkflowDefinitionDispenser.cs
- ChangePasswordAutoFormat.cs
- DbDataRecord.cs
- X509UI.cs
- _ProxyRegBlob.cs
- TableItemProviderWrapper.cs
- ServiceContractGenerator.cs
- NextPreviousPagerField.cs
- ItemList.cs
- ResourceDictionaryCollection.cs
- TemplatePagerField.cs
- DeviceContext.cs
- EventLogTraceListener.cs
- SequentialOutput.cs
- ParsedAttributeCollection.cs
- MsmqIntegrationOutputChannel.cs
- NotImplementedException.cs
- SessionPageStateSection.cs
- CodePageUtils.cs
- baseaxisquery.cs
- DataBoundLiteralControl.cs
- InputEventArgs.cs
- InputDevice.cs
- TextRangeSerialization.cs
- MoveSizeWinEventHandler.cs
- MemberNameValidator.cs
- AdornerDecorator.cs
- SafeUserTokenHandle.cs
- ScrollItemPatternIdentifiers.cs
- ApplicationFileCodeDomTreeGenerator.cs
- DateTimeFormatInfoScanner.cs
- StylusPointPropertyUnit.cs
- ITextView.cs
- ClientScriptManager.cs
- FocusTracker.cs
- FixedTextSelectionProcessor.cs
- ColumnMap.cs
- DataGridViewColumnCollectionEditor.cs
- StringValidatorAttribute.cs
- RemoveStoryboard.cs
- InputQueueChannel.cs
- IsolationInterop.cs
- SmtpClient.cs
- FrugalList.cs
- VisualStyleRenderer.cs