Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / 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
- SimpleApplicationHost.cs
- HostedElements.cs
- ValidatingPropertiesEventArgs.cs
- XmlChildEnumerator.cs
- CompositeFontInfo.cs
- ThousandthOfEmRealDoubles.cs
- ImageFormat.cs
- DataPagerField.cs
- RoleManagerEventArgs.cs
- SymbolTable.cs
- IdentityNotMappedException.cs
- TabItemWrapperAutomationPeer.cs
- MultiSelector.cs
- HttpWebRequest.cs
- ControlParameter.cs
- PageThemeParser.cs
- ResourceSetExpression.cs
- FormsAuthenticationCredentials.cs
- HijriCalendar.cs
- CrossAppDomainChannel.cs
- ZoneIdentityPermission.cs
- PenThreadPool.cs
- HebrewNumber.cs
- ParseNumbers.cs
- XmlSchemaAttributeGroup.cs
- TrackingProfileCache.cs
- SafeCryptHandles.cs
- HttpResponse.cs
- DetailsViewUpdatedEventArgs.cs
- HandlerBase.cs
- MimeMultiPart.cs
- FontInfo.cs
- RtfFormatStack.cs
- FilterEventArgs.cs
- DataMisalignedException.cs
- HtmlImage.cs
- Socket.cs
- QilLoop.cs
- RequestNavigateEventArgs.cs
- BindingMAnagerBase.cs
- ForEachAction.cs
- MimeWriter.cs
- NumberFormatInfo.cs
- PatternMatcher.cs
- RowUpdatingEventArgs.cs
- SingleObjectCollection.cs
- DataGridViewTextBoxColumn.cs
- LockedHandleGlyph.cs
- WorkflowInstanceProxy.cs
- MultiView.cs
- SecuritySessionClientSettings.cs
- URLMembershipCondition.cs
- ServiceOperationParameter.cs
- StylusPlugin.cs
- ColumnResizeUndoUnit.cs
- RegisteredExpandoAttribute.cs
- XmlLinkedNode.cs
- SmiMetaData.cs
- processwaithandle.cs
- ParameterEditorUserControl.cs
- ProfilePropertyNameValidator.cs
- RectAnimationClockResource.cs
- DocumentViewerConstants.cs
- OutputCacheProfile.cs
- BindingExpression.cs
- Configuration.cs
- AssemblyHash.cs
- ScaleTransform3D.cs
- GeometryModel3D.cs
- Columns.cs
- StateDesignerConnector.cs
- TextSelectionHighlightLayer.cs
- Utils.cs
- SettingsPropertyValueCollection.cs
- SmtpNtlmAuthenticationModule.cs
- CommonProperties.cs
- ExpressionEditor.cs
- DataGridTableCollection.cs
- InvokeWebService.cs
- Span.cs
- GenericEnumerator.cs
- Executor.cs
- GeneralTransform.cs
- DictionaryContent.cs
- Rectangle.cs
- DbBuffer.cs
- UnSafeCharBuffer.cs
- DataList.cs
- NameValueCollection.cs
- _NtlmClient.cs
- ColumnWidthChangingEvent.cs
- XsdDataContractImporter.cs
- ClientTargetSection.cs
- CodeDomDesignerLoader.cs
- ChannelManager.cs
- Helpers.cs
- InheritanceService.cs
- XamlRtfConverter.cs
- ProxyElement.cs
- DependencyObject.cs