Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Sys / 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
- DataViewManager.cs
- __Error.cs
- MatrixIndependentAnimationStorage.cs
- StaticResourceExtension.cs
- OdbcException.cs
- RefType.cs
- Figure.cs
- CqlGenerator.cs
- CancellationTokenRegistration.cs
- WebPartDesigner.cs
- FontStretchConverter.cs
- XmlILConstructAnalyzer.cs
- ActiveXSite.cs
- UdpRetransmissionSettings.cs
- Storyboard.cs
- DataStreamFromComStream.cs
- RangeBaseAutomationPeer.cs
- MD5.cs
- HyperLinkColumn.cs
- Stroke2.cs
- EncryptedKeyHashIdentifierClause.cs
- PropertyFilterAttribute.cs
- EntityType.cs
- Profiler.cs
- TextSelectionHighlightLayer.cs
- FileDataSourceCache.cs
- DataObjectPastingEventArgs.cs
- SelectionProviderWrapper.cs
- BezierSegment.cs
- XPathSingletonIterator.cs
- StateMachine.cs
- DifferencingCollection.cs
- XamlFigureLengthSerializer.cs
- DbConnectionOptions.cs
- GacUtil.cs
- XmlWriterSettings.cs
- SessionState.cs
- securitymgrsite.cs
- ImageBrush.cs
- DataBindingCollection.cs
- SerializableReadOnlyDictionary.cs
- BStrWrapper.cs
- Keyboard.cs
- DesignerProperties.cs
- EncoderParameters.cs
- XmlSchemaInclude.cs
- Activity.cs
- FormsIdentity.cs
- RoleService.cs
- selecteditemcollection.cs
- XamlBrushSerializer.cs
- RegexRunner.cs
- XappLauncher.cs
- SafeBitVector32.cs
- DomNameTable.cs
- TableLayoutPanel.cs
- ImageCodecInfoPrivate.cs
- Point.cs
- ValidationSummary.cs
- _IPv6Address.cs
- TemplateBindingExpression.cs
- InstanceContextMode.cs
- Utils.cs
- Literal.cs
- GeometryHitTestParameters.cs
- CustomErrorsSection.cs
- VisualTarget.cs
- CounterSetInstance.cs
- BevelBitmapEffect.cs
- ThumbButtonInfo.cs
- DrawingImage.cs
- ActiveXHelper.cs
- ClientBuildManager.cs
- DataGridViewImageColumn.cs
- WebHeaderCollection.cs
- AbstractExpressions.cs
- SoapClientProtocol.cs
- RestHandler.cs
- TypeLibConverter.cs
- HttpListener.cs
- ParsedAttributeCollection.cs
- NumberFunctions.cs
- Span.cs
- SrgsSubset.cs
- ResourceSetExpression.cs
- CustomBindingCollectionElement.cs
- TextWriterEngine.cs
- ListBox.cs
- Cell.cs
- ClientBuildManager.cs
- TemplateColumn.cs
- TextChange.cs
- TransformedBitmap.cs
- ExpressionBindingCollection.cs
- ClassDataContract.cs
- MatrixCamera.cs
- TableSectionStyle.cs
- DesignDataSource.cs
- XmlObjectSerializerWriteContext.cs
- UnsafeNativeMethods.cs