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
- XmlComplianceUtil.cs
- UnsafeNativeMethods.cs
- EmptyControlCollection.cs
- CodeTypeDeclarationCollection.cs
- SystemIPInterfaceStatistics.cs
- GeneralTransform3DCollection.cs
- WinEventHandler.cs
- TrackingServices.cs
- SqlCacheDependencyDatabaseCollection.cs
- TimerExtension.cs
- UrlMappingsSection.cs
- ResourceBinder.cs
- XmlExtensionFunction.cs
- ArrayConverter.cs
- ValidationPropertyAttribute.cs
- DragDrop.cs
- DataServiceRequestException.cs
- StringUtil.cs
- ClientRuntimeConfig.cs
- Config.cs
- SqlStream.cs
- coordinatorfactory.cs
- AuthenticationException.cs
- GridSplitterAutomationPeer.cs
- UIElement3D.cs
- DataGridCommandEventArgs.cs
- OleServicesContext.cs
- DataColumnPropertyDescriptor.cs
- TimeSpanStorage.cs
- CustomBindingCollectionElement.cs
- DataContext.cs
- ReliableOutputSessionChannel.cs
- Speller.cs
- MatrixKeyFrameCollection.cs
- ControlCommandSet.cs
- ScrollPattern.cs
- EntityParameterCollection.cs
- DataServiceConfiguration.cs
- BigInt.cs
- ResourceDescriptionAttribute.cs
- ToolStripTemplateNode.cs
- _IPv4Address.cs
- RadioButtonList.cs
- StringDictionary.cs
- ZipFileInfo.cs
- DetailsViewDeletedEventArgs.cs
- SettingsPropertyCollection.cs
- Inline.cs
- ConstrainedDataObject.cs
- Transform3DGroup.cs
- RenameRuleObjectDialog.cs
- UserControlParser.cs
- DataBoundControlAdapter.cs
- RestHandlerFactory.cs
- BuildManagerHost.cs
- MemberInfoSerializationHolder.cs
- URLString.cs
- UriParserTemplates.cs
- InstancePersistenceException.cs
- FunctionDetailsReader.cs
- DataGridViewCellEventArgs.cs
- ProcessModelInfo.cs
- ActivityDesigner.cs
- VisualStyleTypesAndProperties.cs
- PrincipalPermission.cs
- XmlSchemaSequence.cs
- cookie.cs
- URIFormatException.cs
- DisplayMemberTemplateSelector.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- GACIdentityPermission.cs
- DecoderExceptionFallback.cs
- BufferCache.cs
- StyleBamlRecordReader.cs
- ToolStripOverflow.cs
- ActivationServices.cs
- safesecurityhelperavalon.cs
- SecurityChannelFactory.cs
- DrawingContextDrawingContextWalker.cs
- AdapterDictionary.cs
- CssClassPropertyAttribute.cs
- AnonymousIdentificationModule.cs
- DrawListViewSubItemEventArgs.cs
- NameValueFileSectionHandler.cs
- TableLayoutPanelDesigner.cs
- DecoderExceptionFallback.cs
- TdsParserHelperClasses.cs
- SpecularMaterial.cs
- SecurityTokenAttachmentMode.cs
- HostProtectionException.cs
- OptimizedTemplateContent.cs
- RouteItem.cs
- DataGridViewComponentPropertyGridSite.cs
- TextEvent.cs
- UnsafeNativeMethods.cs
- EntityDataSourceSelectedEventArgs.cs
- Control.cs
- EntityViewGenerator.cs
- SelfIssuedAuthProofToken.cs
- ConfigurationManagerHelperFactory.cs