Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Configuration / System / Configuration / ConfigXmlSignificantWhitespace.cs / 1 / ConfigXmlSignificantWhitespace.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 ConfigXmlSignificantWhitespace : XmlSignificantWhitespace, IConfigErrorInfo { public ConfigXmlSignificantWhitespace(string filename, int line, string strData, XmlDocument doc) : base(strData, 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); ConfigXmlSignificantWhitespace clone = cloneNode as ConfigXmlSignificantWhitespace; 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 ConfigXmlSignificantWhitespace : XmlSignificantWhitespace, IConfigErrorInfo { public ConfigXmlSignificantWhitespace(string filename, int line, string strData, XmlDocument doc) : base(strData, 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); ConfigXmlSignificantWhitespace clone = cloneNode as ConfigXmlSignificantWhitespace; 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
- SqlDataSourceFilteringEventArgs.cs
- TypeToken.cs
- cookie.cs
- TypeConverter.cs
- Material.cs
- DependencyObjectType.cs
- GridViewColumnHeader.cs
- XmlNode.cs
- BindUriHelper.cs
- SegmentInfo.cs
- EventEntry.cs
- Module.cs
- MulticastNotSupportedException.cs
- ManagedIStream.cs
- RepeatBehavior.cs
- DataGridViewComboBoxCell.cs
- WindowsListViewGroup.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ListViewDataItem.cs
- PropertyRef.cs
- MenuItemStyle.cs
- ListControl.cs
- ArrayMergeHelper.cs
- _ConnectOverlappedAsyncResult.cs
- ItemType.cs
- DetailsViewRow.cs
- CustomWebEventKey.cs
- WindowsListViewSubItem.cs
- XPathCompileException.cs
- IdentityHolder.cs
- BindToObject.cs
- FileReader.cs
- ConstructorArgumentAttribute.cs
- ThreadStaticAttribute.cs
- XslUrlEditor.cs
- DocumentStream.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- PackWebRequest.cs
- XmlArrayItemAttribute.cs
- contentDescriptor.cs
- MultilineStringEditor.cs
- XmlSchemaSimpleTypeList.cs
- SQLBinary.cs
- ProfileManager.cs
- DesignerAttribute.cs
- ListViewUpdatedEventArgs.cs
- DataGridViewCellStyle.cs
- GlobalProxySelection.cs
- SqlDataSourceCustomCommandEditor.cs
- QilInvokeEarlyBound.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- ScriptModule.cs
- TryCatchDesigner.xaml.cs
- SaveFileDialog.cs
- WebPartHeaderCloseVerb.cs
- DataBoundControlHelper.cs
- PlainXmlWriter.cs
- SiteMapProvider.cs
- LineServicesCallbacks.cs
- ProfileBuildProvider.cs
- XmlSecureResolver.cs
- CanExecuteRoutedEventArgs.cs
- TableCellAutomationPeer.cs
- ItemChangedEventArgs.cs
- X509CertificateCollection.cs
- AsyncCompletedEventArgs.cs
- ProfileManager.cs
- XPathException.cs
- ColorPalette.cs
- AutoResetEvent.cs
- InvokeProviderWrapper.cs
- FeatureAttribute.cs
- MetadataArtifactLoaderResource.cs
- DataControlFieldCollection.cs
- CompareValidator.cs
- RenderingBiasValidation.cs
- PartialToken.cs
- DataGridViewAdvancedBorderStyle.cs
- SqlLiftWhereClauses.cs
- RemoteWebConfigurationHostStream.cs
- TextRunCacheImp.cs
- SrgsElementList.cs
- PanelContainerDesigner.cs
- UriTemplateClientFormatter.cs
- MemberInfoSerializationHolder.cs
- CompositeDataBoundControl.cs
- ReflectPropertyDescriptor.cs
- XmlQuerySequence.cs
- FixedSOMTextRun.cs
- ProcessStartInfo.cs
- unsafenativemethodstextservices.cs
- PrintPreviewDialog.cs
- PolicyLevel.cs
- EncoderFallback.cs
- BooleanSwitch.cs
- HMAC.cs
- PreviewPrintController.cs
- MemoryResponseElement.cs
- RegexGroup.cs
- WebScriptMetadataFormatter.cs