Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Screen.cs
- ConversionContext.cs
- XmlReaderDelegator.cs
- Array.cs
- Models.cs
- XmlReflectionImporter.cs
- Connector.cs
- DatePickerAutomationPeer.cs
- DefaultMemberAttribute.cs
- ConfigurationLocation.cs
- AtlasWeb.Designer.cs
- ServiceHostingEnvironment.cs
- EventMap.cs
- DispatcherHookEventArgs.cs
- RequestTimeoutManager.cs
- Int16AnimationBase.cs
- AnnotationService.cs
- AppDomainCompilerProxy.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- DataGridHelper.cs
- RoleServiceManager.cs
- FormattedTextSymbols.cs
- ReliableSessionBindingElement.cs
- TrimSurroundingWhitespaceAttribute.cs
- DataProtection.cs
- HtmlControl.cs
- RelatedView.cs
- BrowserDefinition.cs
- WindowsTokenRoleProvider.cs
- FrameDimension.cs
- ThemeDirectoryCompiler.cs
- SqlParameterCollection.cs
- XmlDocument.cs
- TraceFilter.cs
- GeneralTransform3DCollection.cs
- AnnotationAdorner.cs
- LocationReferenceValue.cs
- TextHidden.cs
- ADConnectionHelper.cs
- MULTI_QI.cs
- KoreanLunisolarCalendar.cs
- InternalCache.cs
- ContainsRowNumberChecker.cs
- BaseDataList.cs
- FilterUserControlBase.cs
- BuilderElements.cs
- PropertyTabAttribute.cs
- WebPartCloseVerb.cs
- TraceSwitch.cs
- CacheSection.cs
- ObjectDisposedException.cs
- BaseDataBoundControl.cs
- DataGridViewLinkColumn.cs
- Bezier.cs
- MbpInfo.cs
- BehaviorEditorPart.cs
- UserNamePasswordClientCredential.cs
- PageContent.cs
- FilteredDataSetHelper.cs
- CommandDesigner.cs
- Relationship.cs
- CardSpacePolicyElement.cs
- XmlSchemaSimpleTypeRestriction.cs
- BeginStoryboard.cs
- StylusPointPropertyUnit.cs
- EventMappingSettings.cs
- CssStyleCollection.cs
- RuntimeResourceSet.cs
- DBCSCodePageEncoding.cs
- MarkedHighlightComponent.cs
- SpanIndex.cs
- SiteMapNodeCollection.cs
- TableLayoutPanel.cs
- JpegBitmapDecoder.cs
- EpmContentDeSerializerBase.cs
- DbDataSourceEnumerator.cs
- AppModelKnownContentFactory.cs
- SqlReferenceCollection.cs
- HttpCachePolicyBase.cs
- CodeDomConfigurationHandler.cs
- Style.cs
- DiscoveryReferences.cs
- CodeAssignStatement.cs
- FixedPageAutomationPeer.cs
- StringBuilder.cs
- SmtpClient.cs
- HttpApplicationFactory.cs
- ExpressionQuoter.cs
- Tracer.cs
- XmlSchemaSet.cs
- ParsedAttributeCollection.cs
- RequestQueryProcessor.cs
- Timer.cs
- StickyNoteAnnotations.cs
- Pair.cs
- WeakReferenceKey.cs
- UrlAuthorizationModule.cs
- TableLayoutColumnStyleCollection.cs
- ServiceDesigner.xaml.cs