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
- _NtlmClient.cs
- Mouse.cs
- HttpRequestMessageProperty.cs
- AssociationSetEnd.cs
- FixedDSBuilder.cs
- CommentEmitter.cs
- HostingPreferredMapPath.cs
- GenericWebPart.cs
- PreProcessInputEventArgs.cs
- WebHttpBinding.cs
- ParseChildrenAsPropertiesAttribute.cs
- MenuAutomationPeer.cs
- SqlDesignerDataSourceView.cs
- CursorInteropHelper.cs
- TrueReadOnlyCollection.cs
- CornerRadiusConverter.cs
- XsltFunctions.cs
- EncodingInfo.cs
- AssemblyHash.cs
- ContentPosition.cs
- WebRequestModuleElement.cs
- Menu.cs
- HandleCollector.cs
- PerformanceCounter.cs
- XmlILTrace.cs
- baseaxisquery.cs
- XXXInfos.cs
- SortFieldComparer.cs
- ResourceIDHelper.cs
- FontFamilyIdentifier.cs
- KeyTimeConverter.cs
- SecurityPermission.cs
- RemoteWebConfigurationHostServer.cs
- FullTextBreakpoint.cs
- StringUtil.cs
- BitStack.cs
- OracleLob.cs
- XmlSerializer.cs
- StringCollection.cs
- Utils.cs
- XmlnsCache.cs
- PropertyInformation.cs
- TaskFactory.cs
- BidOverLoads.cs
- ByteStream.cs
- WebSysDefaultValueAttribute.cs
- MainMenu.cs
- ConfigXmlElement.cs
- SynchronizationScope.cs
- WebContext.cs
- ToolBarButton.cs
- CellPartitioner.cs
- CommandExpr.cs
- TextBox.cs
- Splitter.cs
- VerificationAttribute.cs
- DataStreams.cs
- StateDesigner.Helpers.cs
- Border.cs
- MethodBody.cs
- TraceUtility.cs
- ContextMenu.cs
- Timer.cs
- CopyCodeAction.cs
- ColorConvertedBitmapExtension.cs
- TableStyle.cs
- FixedLineResult.cs
- ColorConverter.cs
- SizeConverter.cs
- ManipulationDevice.cs
- DesignSurfaceCollection.cs
- PackageFilter.cs
- IconHelper.cs
- RowCache.cs
- PackagePart.cs
- LazyTextWriterCreator.cs
- RichTextBoxConstants.cs
- DataListDesigner.cs
- DataColumnSelectionConverter.cs
- QilFactory.cs
- UInt32Storage.cs
- RelationshipEnd.cs
- InternalConfigEventArgs.cs
- RegexGroup.cs
- XmlSchemaAnnotated.cs
- SqlHelper.cs
- SqlWebEventProvider.cs
- DiscoveryMessageProperty.cs
- DefaultClaimSet.cs
- UniqueEventHelper.cs
- SliderAutomationPeer.cs
- InnerItemCollectionView.cs
- SortDescriptionCollection.cs
- XPathConvert.cs
- ExtendedProperty.cs
- TempFiles.cs
- CodeIdentifiers.cs
- JoinGraph.cs
- OleDbConnectionFactory.cs
- FormatException.cs