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
- SafeThreadHandle.cs
- MSAAWinEventWrap.cs
- PathGeometry.cs
- ToolStripItemRenderEventArgs.cs
- EmptyReadOnlyDictionaryInternal.cs
- newinstructionaction.cs
- ContentPlaceHolder.cs
- DeviceContexts.cs
- XPathPatternParser.cs
- BindingBase.cs
- DataBoundLiteralControl.cs
- PocoPropertyAccessorStrategy.cs
- ApplicationManager.cs
- MetadataItem_Static.cs
- RepeaterCommandEventArgs.cs
- StorageMappingItemCollection.cs
- ToolboxItemLoader.cs
- ServerValidateEventArgs.cs
- ConnectionPointCookie.cs
- Single.cs
- SecurityTokenValidationException.cs
- HighlightVisual.cs
- ResourceSetExpression.cs
- PropertyMap.cs
- Internal.cs
- SystemResourceKey.cs
- UriSectionReader.cs
- StringArrayConverter.cs
- ToolStripItemImageRenderEventArgs.cs
- PageCodeDomTreeGenerator.cs
- ActiveXContainer.cs
- ExtendedProperty.cs
- ExpressionBuilderCollection.cs
- WebPartConnectionsEventArgs.cs
- ScrollableControl.cs
- SqlStream.cs
- DataGridViewComboBoxColumn.cs
- NativeMethods.cs
- Tokenizer.cs
- Pen.cs
- EngineSiteSapi.cs
- WaitHandleCannotBeOpenedException.cs
- WindowsTab.cs
- ScriptResourceInfo.cs
- Margins.cs
- SchemaMerger.cs
- TextSpanModifier.cs
- VectorAnimation.cs
- Property.cs
- ThrowOnMultipleAssignment.cs
- Message.cs
- ListViewItem.cs
- OleDbDataAdapter.cs
- BamlLocalizableResource.cs
- ProfilePropertyMetadata.cs
- EdmScalarPropertyAttribute.cs
- DataServiceBehavior.cs
- NameScope.cs
- ClientApiGenerator.cs
- SafeThemeHandle.cs
- WebPartUtil.cs
- Wizard.cs
- IDReferencePropertyAttribute.cs
- ParsedAttributeCollection.cs
- ConfigurationManagerInternal.cs
- PostBackTrigger.cs
- AppSettingsReader.cs
- TouchFrameEventArgs.cs
- wmiprovider.cs
- DataGrid.cs
- RuntimeConfigurationRecord.cs
- UserControl.cs
- DataObjectMethodAttribute.cs
- Policy.cs
- GPPOINT.cs
- WebPartConnectVerb.cs
- DomNameTable.cs
- DynamicQueryStringParameter.cs
- RadioButtonStandardAdapter.cs
- DataError.cs
- SecurityIdentifierElementCollection.cs
- SpecialNameAttribute.cs
- EmptyStringExpandableObjectConverter.cs
- DataGridViewRowCollection.cs
- TextTreeUndoUnit.cs
- DataColumnChangeEvent.cs
- Utils.cs
- WindowsClaimSet.cs
- DataView.cs
- StrokeDescriptor.cs
- FloaterParaClient.cs
- DbDataRecord.cs
- assemblycache.cs
- TrackingValidationObjectDictionary.cs
- BitmapDecoder.cs
- InternalBase.cs
- DataConnectionHelper.cs
- Color.cs
- WebBrowserBase.cs
- Point4D.cs