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
- RtfToken.cs
- WebConfigurationHostFileChange.cs
- ping.cs
- DBAsyncResult.cs
- OracleParameterCollection.cs
- SafeEventLogWriteHandle.cs
- WebServiceFault.cs
- UndoManager.cs
- DataGridViewElement.cs
- DataPagerFieldItem.cs
- ItemCollection.cs
- FontUnitConverter.cs
- ForeignKeyConstraint.cs
- TrackingStringDictionary.cs
- EntityException.cs
- SoundPlayerAction.cs
- ToolStripItemEventArgs.cs
- DatePickerTextBox.cs
- GeneralTransform3DGroup.cs
- XmlCodeExporter.cs
- SmtpClient.cs
- ValidationHelper.cs
- PropertyItem.cs
- DeadLetterQueue.cs
- Helper.cs
- SizeAnimationClockResource.cs
- SQLDecimal.cs
- UrlPropertyAttribute.cs
- ConsumerConnectionPointCollection.cs
- SqlDataSourceFilteringEventArgs.cs
- ColorPalette.cs
- SwitchAttribute.cs
- sqlcontext.cs
- ExpressionConverter.cs
- SoapInteropTypes.cs
- ImageInfo.cs
- EdmTypeAttribute.cs
- NextPreviousPagerField.cs
- XmlSchemaComplexContentRestriction.cs
- TableItemPatternIdentifiers.cs
- Int16AnimationUsingKeyFrames.cs
- TypeListConverter.cs
- DesignerTransaction.cs
- CommandDesigner.cs
- PathGeometry.cs
- ContentElement.cs
- CustomErrorsSection.cs
- PropertyTabAttribute.cs
- CookielessHelper.cs
- Quaternion.cs
- BaseAutoFormat.cs
- DateTimeConstantAttribute.cs
- PasswordRecovery.cs
- WebAdminConfigurationHelper.cs
- CornerRadiusConverter.cs
- ExpressionBinding.cs
- BrowserCapabilitiesFactoryBase.cs
- TokenBasedSet.cs
- CompositeFontParser.cs
- ObservableDictionary.cs
- GroupBox.cs
- X509Certificate.cs
- ContentTextAutomationPeer.cs
- BooleanStorage.cs
- Page.cs
- MouseEvent.cs
- BamlResourceContent.cs
- RegistryPermission.cs
- COM2ExtendedUITypeEditor.cs
- WebPartMenuStyle.cs
- XmlAttributeAttribute.cs
- CanonicalFontFamilyReference.cs
- MulticastDelegate.cs
- DoubleAnimation.cs
- XmlNodeChangedEventArgs.cs
- DbProviderFactory.cs
- BindingsCollection.cs
- CustomExpressionEventArgs.cs
- QuotedPairReader.cs
- LoadedEvent.cs
- TimeSpanConverter.cs
- XmlnsDictionary.cs
- NamedServiceModelExtensionCollectionElement.cs
- CssClassPropertyAttribute.cs
- OdbcCommand.cs
- TextRange.cs
- IgnoreFileBuildProvider.cs
- StringSource.cs
- MdiWindowListItemConverter.cs
- SystemUdpStatistics.cs
- DataServiceRequest.cs
- WebConfigurationHost.cs
- DataGridViewRowStateChangedEventArgs.cs
- Debug.cs
- FileSystemInfo.cs
- StaticDataManager.cs
- IImplicitResourceProvider.cs
- CallId.cs
- JournalNavigationScope.cs
- VideoDrawing.cs