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
- PhysicalAddress.cs
- AssemblyUtil.cs
- ProcessThreadCollection.cs
- DebugView.cs
- DataBindingHandlerAttribute.cs
- OutputWindow.cs
- HttpProfileBase.cs
- SettingsContext.cs
- FrameworkPropertyMetadata.cs
- DataTableCollection.cs
- CodeDomConfigurationHandler.cs
- ScrollEventArgs.cs
- TypeExtensions.cs
- AttachmentService.cs
- SiteOfOriginPart.cs
- DetailsViewModeEventArgs.cs
- WindowsUserNameCachingSecurityTokenAuthenticator.cs
- DbConnectionPool.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- _ShellExpression.cs
- GlyphsSerializer.cs
- PlainXmlSerializer.cs
- EntityDataSourceReferenceGroup.cs
- ItemTypeToolStripMenuItem.cs
- ToolStripButton.cs
- BitmapScalingModeValidation.cs
- CharAnimationBase.cs
- DetailsViewDeleteEventArgs.cs
- SiteOfOriginContainer.cs
- ProjectionAnalyzer.cs
- DBCSCodePageEncoding.cs
- DependencyPropertyConverter.cs
- DataShape.cs
- ProviderBase.cs
- EntityViewGenerationConstants.cs
- UnmanagedMarshal.cs
- SymLanguageVendor.cs
- arabicshape.cs
- ColumnResult.cs
- _PooledStream.cs
- UiaCoreApi.cs
- RegisteredExpandoAttribute.cs
- WebPartEditorOkVerb.cs
- FamilyMapCollection.cs
- SqlColumnizer.cs
- WrappedDispatcherException.cs
- WebPartEditVerb.cs
- ClientConvert.cs
- AQNBuilder.cs
- ButtonChrome.cs
- TranslateTransform.cs
- OdbcConnectionString.cs
- ControlUtil.cs
- DesignerDataStoredProcedure.cs
- XmlAttributeOverrides.cs
- PageHandlerFactory.cs
- IsolatedStorageFile.cs
- ClientProtocol.cs
- DrawListViewSubItemEventArgs.cs
- SHA256.cs
- DataGridItemAutomationPeer.cs
- DataGridCheckBoxColumn.cs
- InputScope.cs
- ClrProviderManifest.cs
- DataShape.cs
- SQLInt64.cs
- OleDbConnection.cs
- StaticResourceExtension.cs
- ObjectViewQueryResultData.cs
- OracleEncoding.cs
- MetaDataInfo.cs
- XPathDocumentIterator.cs
- QuaternionAnimation.cs
- WindowsAltTab.cs
- SemaphoreSecurity.cs
- MetaModel.cs
- SqlCaseSimplifier.cs
- DbProviderServices.cs
- IndependentlyAnimatedPropertyMetadata.cs
- StructuredTypeInfo.cs
- ImportContext.cs
- cookie.cs
- TableItemPatternIdentifiers.cs
- ArrangedElement.cs
- DataGridColumnHeader.cs
- HttpCapabilitiesSectionHandler.cs
- NetworkInformationException.cs
- HttpCachePolicyBase.cs
- ApplicationHost.cs
- SelectedGridItemChangedEvent.cs
- RowType.cs
- LineMetrics.cs
- CharStorage.cs
- Latin1Encoding.cs
- MethodBody.cs
- DbExpressionVisitor_TResultType.cs
- ToolStripItemDataObject.cs
- PointAnimationBase.cs
- Label.cs
- AutoResetEvent.cs