Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlWhitespace.cs / 1305376 / 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
- SelectionListDesigner.cs
- PauseStoryboard.cs
- DataRowCollection.cs
- XmlSerializerVersionAttribute.cs
- VisualTreeUtils.cs
- FactoryGenerator.cs
- XamlFilter.cs
- Compensate.cs
- HasRunnableWorkflowEvent.cs
- Peer.cs
- BackgroundFormatInfo.cs
- FontDifferentiator.cs
- TextTreeTextBlock.cs
- WebPartTransformer.cs
- DesignerTextBoxAdapter.cs
- SendKeys.cs
- ThemeDictionaryExtension.cs
- DataGridViewSortCompareEventArgs.cs
- PrintDocument.cs
- DefaultValueTypeConverter.cs
- CustomPopupPlacement.cs
- TdsValueSetter.cs
- IPAddress.cs
- StsCommunicationException.cs
- ToolStripMenuItem.cs
- ComponentConverter.cs
- DataBinder.cs
- PolyBezierSegmentFigureLogic.cs
- BaseCAMarshaler.cs
- DPAPIProtectedConfigurationProvider.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- AstTree.cs
- RtType.cs
- ForEach.cs
- _SslSessionsCache.cs
- SemanticBasicElement.cs
- Annotation.cs
- WebSysDefaultValueAttribute.cs
- EntityDataSourceColumn.cs
- validationstate.cs
- Dynamic.cs
- ConfigurationSchemaErrors.cs
- TableParaClient.cs
- DataSourceComponent.cs
- AnimationClock.cs
- ControlCachePolicy.cs
- IsolatedStorageFileStream.cs
- ObjectSpanRewriter.cs
- BinarySecretKeyIdentifierClause.cs
- Binding.cs
- CodeTypeOfExpression.cs
- ButtonBaseAutomationPeer.cs
- SqlResolver.cs
- ItemsPresenter.cs
- ProcessDesigner.cs
- WS2007HttpBindingElement.cs
- CompilerResults.cs
- TextSimpleMarkerProperties.cs
- OrderPreservingSpoolingTask.cs
- TextDecorations.cs
- SystemMulticastIPAddressInformation.cs
- OverlappedAsyncResult.cs
- BulletedList.cs
- ManagementScope.cs
- ProxyWebPart.cs
- WriterOutput.cs
- VectorAnimationBase.cs
- ResourceContainer.cs
- ControlIdConverter.cs
- QilLoop.cs
- HtmlAnchor.cs
- TextTrailingCharacterEllipsis.cs
- ProfilePropertySettings.cs
- UriExt.cs
- StdValidatorsAndConverters.cs
- ServiceControllerDesigner.cs
- SaveFileDialog.cs
- PeerToPeerException.cs
- CodeAccessPermission.cs
- VisualProxy.cs
- TransportDefaults.cs
- FilterElement.cs
- ItemCollection.cs
- ZipIOExtraFieldElement.cs
- ToolBar.cs
- CodeStatementCollection.cs
- TabItemAutomationPeer.cs
- ICspAsymmetricAlgorithm.cs
- DecodeHelper.cs
- SoapCommonClasses.cs
- PeerNearMe.cs
- StringUtil.cs
- GcSettings.cs
- TabItem.cs
- StrongNameIdentityPermission.cs
- XmlAttributes.cs
- WebPartDisplayModeCancelEventArgs.cs
- Viewport2DVisual3D.cs
- cache.cs
- GridViewColumnHeader.cs