Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DropTarget.cs
- SamlAttributeStatement.cs
- Transform3D.cs
- ButtonBase.cs
- TemplatedWizardStep.cs
- AggregateException.cs
- UnsafeNativeMethods.cs
- XmlSyndicationContent.cs
- SoapAttributeOverrides.cs
- TextEditorCharacters.cs
- ActivitySurrogateSelector.cs
- TriState.cs
- Selection.cs
- _HTTPDateParse.cs
- formatter.cs
- XmlSerializerFactory.cs
- XmlElementList.cs
- XslNumber.cs
- DataBoundControlHelper.cs
- LinqDataSourceView.cs
- AvTrace.cs
- DataGridView.cs
- Typeface.cs
- MediaTimeline.cs
- FrameworkObject.cs
- MemoryMappedViewStream.cs
- DesignSurfaceCollection.cs
- XmlAttributes.cs
- GridLength.cs
- MaskedTextProvider.cs
- SqlDataSourceStatusEventArgs.cs
- DefaultProxySection.cs
- DocumentViewerHelper.cs
- NonValidatingSecurityTokenAuthenticator.cs
- StateManagedCollection.cs
- BCLDebug.cs
- PrintingPermissionAttribute.cs
- InstanceContextManager.cs
- PolyBezierSegment.cs
- OracleTimeSpan.cs
- BamlStream.cs
- BindingEditor.xaml.cs
- BuilderInfo.cs
- GridItemCollection.cs
- XmlNode.cs
- MimeFormatter.cs
- DBConnectionString.cs
- FontFamilyValueSerializer.cs
- XhtmlBasicObjectListAdapter.cs
- Converter.cs
- SiteIdentityPermission.cs
- Single.cs
- ValidationUtility.cs
- TypeConverterHelper.cs
- FlowDocumentScrollViewer.cs
- DockPanel.cs
- Misc.cs
- ScriptControl.cs
- TreeNodeCollection.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- SqlDeflator.cs
- FixedSchema.cs
- HtmlForm.cs
- ActivityTypeResolver.xaml.cs
- SpeechAudioFormatInfo.cs
- Operator.cs
- Version.cs
- NativeMethodsOther.cs
- UnmanagedMarshal.cs
- XNodeSchemaApplier.cs
- XmlValidatingReader.cs
- TemplatingOptionsDialog.cs
- SQLUtility.cs
- Suspend.cs
- XmlSchemaSimpleType.cs
- SerializerProvider.cs
- FormViewCommandEventArgs.cs
- RectangleGeometry.cs
- TopClause.cs
- FlowDocument.cs
- SqlDataSourceFilteringEventArgs.cs
- IDispatchConstantAttribute.cs
- LOSFormatter.cs
- RuntimeComponentFilter.cs
- OdbcInfoMessageEvent.cs
- WindowsSysHeader.cs
- HandledMouseEvent.cs
- WebPartConnection.cs
- ValidationErrorCollection.cs
- TextElementEditingBehaviorAttribute.cs
- JsonServiceDocumentSerializer.cs
- NodeFunctions.cs
- PropertyChangedEventManager.cs
- MaterializeFromAtom.cs
- PrintDocument.cs
- DataSourceHelper.cs
- ColorBlend.cs
- PrinterSettings.cs
- SystemFonts.cs
- PromptStyle.cs