Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ControlParameter.cs
- ScriptControlDescriptor.cs
- AuthenticationModuleElementCollection.cs
- Int64KeyFrameCollection.cs
- QueryComponents.cs
- WebPartZoneBaseDesigner.cs
- ZoneButton.cs
- DataGridViewColumnDesigner.cs
- BindingExpressionBase.cs
- NotificationContext.cs
- QilNode.cs
- HiddenFieldDesigner.cs
- RotateTransform.cs
- entityreference_tresulttype.cs
- BaseComponentEditor.cs
- ManipulationCompletedEventArgs.cs
- TextEditor.cs
- XPathExpr.cs
- CorrelationResolver.cs
- MetadataWorkspace.cs
- XslAstAnalyzer.cs
- ScaleTransform3D.cs
- LinkDescriptor.cs
- DoubleCollection.cs
- TraceRecord.cs
- EndpointReference.cs
- SqlMetaData.cs
- BlurEffect.cs
- Cursors.cs
- DuplicateWaitObjectException.cs
- XamlTreeBuilder.cs
- ContentTextAutomationPeer.cs
- safePerfProviderHandle.cs
- TemplateBuilder.cs
- FastEncoderStatics.cs
- ConfigXmlReader.cs
- CheckPair.cs
- StyleBamlTreeBuilder.cs
- CoreSwitches.cs
- PolicyManager.cs
- TcpClientChannel.cs
- Mappings.cs
- HtmlFormWrapper.cs
- TabControl.cs
- WebPartDisplayModeEventArgs.cs
- SerTrace.cs
- FixedDocumentPaginator.cs
- SubclassTypeValidatorAttribute.cs
- TreeNodeStyle.cs
- CodeDomConfigurationHandler.cs
- GridViewRowPresenterBase.cs
- GeometryCombineModeValidation.cs
- MonitorWrapper.cs
- TerminateDesigner.cs
- DrawingDrawingContext.cs
- ClickablePoint.cs
- XslAst.cs
- Internal.cs
- wmiutil.cs
- SdlChannelSink.cs
- EventMappingSettingsCollection.cs
- PerformanceCounter.cs
- InkCanvasSelection.cs
- HttpHeaderCollection.cs
- Hash.cs
- CalendarItem.cs
- ConfigXmlComment.cs
- FamilyCollection.cs
- BinaryObjectWriter.cs
- ResourceExpressionBuilder.cs
- StatusBarPanelClickEvent.cs
- MessageSmuggler.cs
- StandardBindingElementCollection.cs
- SqlTypeSystemProvider.cs
- InstanceLockTracking.cs
- JournalEntryListConverter.cs
- Token.cs
- NavigateEvent.cs
- SerializerProvider.cs
- DataObjectEventArgs.cs
- SoapRpcMethodAttribute.cs
- TimerElapsedEvenArgs.cs
- EpmTargetPathSegment.cs
- diagnosticsswitches.cs
- TouchFrameEventArgs.cs
- SettingsBase.cs
- RenderDataDrawingContext.cs
- TargetInvocationException.cs
- unsafenativemethodsother.cs
- PropVariant.cs
- DependencyObjectType.cs
- BamlReader.cs
- Lease.cs
- ZipIOExtraFieldZip64Element.cs
- _NTAuthentication.cs
- StrokeIntersection.cs
- BindingMemberInfo.cs
- NumberFormatInfo.cs
- CountdownEvent.cs
- TableLayoutStyle.cs