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
- QueryPageSettingsEventArgs.cs
- SignatureToken.cs
- MultiByteCodec.cs
- HtmlTernaryTree.cs
- CustomError.cs
- TemplateField.cs
- webbrowsersite.cs
- LocatorManager.cs
- GridView.cs
- _CacheStreams.cs
- DataSetMappper.cs
- SettingsBase.cs
- EntryIndex.cs
- TypeConverter.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- Matrix3D.cs
- ButtonBase.cs
- ImageMetadata.cs
- GenericUriParser.cs
- ReplyChannelBinder.cs
- XomlDesignerLoader.cs
- SqlMethodTransformer.cs
- ChannelTracker.cs
- EntityDataSourceContextCreatedEventArgs.cs
- UnitySerializationHolder.cs
- ValidatingReaderNodeData.cs
- HorizontalAlignConverter.cs
- CounterSampleCalculator.cs
- ImageMapEventArgs.cs
- DispatcherExceptionEventArgs.cs
- ProxyHwnd.cs
- RowType.cs
- DirectoryNotFoundException.cs
- MasterPageParser.cs
- CodeRegionDirective.cs
- InertiaTranslationBehavior.cs
- EventLogPermission.cs
- XmlSchemaSimpleTypeUnion.cs
- AtomMaterializer.cs
- TraceUtils.cs
- FixedSOMElement.cs
- HyperlinkAutomationPeer.cs
- HexParser.cs
- HttpContextWrapper.cs
- PolyLineSegmentFigureLogic.cs
- CompilerError.cs
- XmlElement.cs
- DNS.cs
- AsyncPostBackTrigger.cs
- PrincipalPermission.cs
- DataStreams.cs
- GenericEnumConverter.cs
- querybuilder.cs
- DeclaredTypeElement.cs
- RootAction.cs
- MatrixTransform.cs
- TcpAppDomainProtocolHandler.cs
- SqlSelectClauseBuilder.cs
- DesignerAdapterAttribute.cs
- ViewBase.cs
- MultiTouchSystemGestureLogic.cs
- CutCopyPasteHelper.cs
- AssemblyInfo.cs
- DesignerListAdapter.cs
- IPHostEntry.cs
- CompareValidator.cs
- LoginDesigner.cs
- SessionIDManager.cs
- InlineCollection.cs
- CodeGroup.cs
- BinaryFormatterWriter.cs
- LOSFormatter.cs
- ToolStripComboBox.cs
- TypeConverterHelper.cs
- FamilyTypefaceCollection.cs
- DefaultBinder.cs
- Accessors.cs
- DataKey.cs
- TouchPoint.cs
- _ServiceNameStore.cs
- ZeroOpNode.cs
- CompoundFileStreamReference.cs
- ScriptingWebServicesSectionGroup.cs
- HostedImpersonationContext.cs
- XPathNavigator.cs
- AddInToken.cs
- System.Data.OracleClient_BID.cs
- SqlErrorCollection.cs
- MsmqTransportReceiveParameters.cs
- ProcessHostFactoryHelper.cs
- PublisherMembershipCondition.cs
- SqlFlattener.cs
- GridViewPageEventArgs.cs
- CompiledRegexRunner.cs
- XmlUnspecifiedAttribute.cs
- CellPartitioner.cs
- ElementHostAutomationPeer.cs
- PointCollection.cs
- SizeChangedEventArgs.cs
- EmptyEnumerable.cs