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 / 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
- ServiceDescriptionImporter.cs
- ConfigurationManagerHelperFactory.cs
- Visual3D.cs
- AsnEncodedData.cs
- DynamicValueConverter.cs
- GroupBoxDesigner.cs
- UserValidatedEventArgs.cs
- ObjectStateFormatter.cs
- DataColumnPropertyDescriptor.cs
- TdsValueSetter.cs
- HitTestFilterBehavior.cs
- Menu.cs
- ToolBar.cs
- PageMediaSize.cs
- Keywords.cs
- HttpServerChannel.cs
- DBSqlParserColumn.cs
- HttpDebugHandler.cs
- NamespaceInfo.cs
- SwitchLevelAttribute.cs
- BuildProviderAppliesToAttribute.cs
- TabPanel.cs
- SafeHandles.cs
- TypeNameConverter.cs
- _AutoWebProxyScriptWrapper.cs
- SelectedGridItemChangedEvent.cs
- CurrencyWrapper.cs
- MenuItemBindingCollection.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- ResourcesBuildProvider.cs
- GenericWebPart.cs
- HtmlControlDesigner.cs
- _SslState.cs
- PlatformCulture.cs
- GlyphRunDrawing.cs
- TdsParser.cs
- BamlResourceDeserializer.cs
- SerialErrors.cs
- X509SecurityTokenAuthenticator.cs
- RawStylusActions.cs
- IgnoreFlushAndCloseStream.cs
- ToolStripRenderer.cs
- CompModSwitches.cs
- BufferedWebEventProvider.cs
- DataGridViewLinkCell.cs
- ListDictionary.cs
- TemplateBuilder.cs
- OutputCacheProfileCollection.cs
- Point4DValueSerializer.cs
- DocumentPageView.cs
- SwitchExpression.cs
- StdValidatorsAndConverters.cs
- Invariant.cs
- WebBrowserProgressChangedEventHandler.cs
- UITypeEditor.cs
- WebPartMenu.cs
- TextTreeTextElementNode.cs
- FontStretch.cs
- prompt.cs
- WebPartDisplayModeCollection.cs
- DtdParser.cs
- FormViewPagerRow.cs
- MenuAutoFormat.cs
- ServicePoint.cs
- ListViewItemEventArgs.cs
- DefinitionProperties.cs
- Geometry.cs
- AppDomain.cs
- EFDataModelProvider.cs
- RowToFieldTransformer.cs
- DATA_BLOB.cs
- AccessDataSource.cs
- SystemParameters.cs
- RenderData.cs
- AssemblyAttributes.cs
- SchemaNotation.cs
- ContentIterators.cs
- AssemblySettingAttributes.cs
- WebPartHelpVerb.cs
- Path.cs
- XPathException.cs
- NameSpaceEvent.cs
- ResponseBodyWriter.cs
- SolidColorBrush.cs
- ZoomPercentageConverter.cs
- CustomAttributeFormatException.cs
- PropertyNames.cs
- InkCanvasInnerCanvas.cs
- SByteConverter.cs
- CompiledXpathExpr.cs
- DbConnectionInternal.cs
- XNodeNavigator.cs
- ErrorWebPart.cs
- DBCSCodePageEncoding.cs
- Optimizer.cs
- WebPartZoneCollection.cs
- Grant.cs
- wmiprovider.cs
- EntitySqlQueryCacheKey.cs
- FunctionCommandText.cs