Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- WindowProviderWrapper.cs
- Decorator.cs
- DBSqlParserTable.cs
- PointHitTestResult.cs
- KeyGestureConverter.cs
- ParameterDataSourceExpression.cs
- _SslState.cs
- FileDialog.cs
- TrackBarDesigner.cs
- Dynamic.cs
- Pen.cs
- ReceiveContent.cs
- LinearGradientBrush.cs
- NeutralResourcesLanguageAttribute.cs
- RawStylusInputReport.cs
- PackageDigitalSignatureManager.cs
- ListViewItem.cs
- Stream.cs
- Action.cs
- XmlSchemaSet.cs
- RegexReplacement.cs
- ConnectionPoint.cs
- MetadataException.cs
- RequestQueue.cs
- CodeIndexerExpression.cs
- HttpHandlerAction.cs
- SpotLight.cs
- ImageListDesigner.cs
- SqlNodeAnnotations.cs
- CodeRemoveEventStatement.cs
- ClientScriptManager.cs
- DataPager.cs
- __FastResourceComparer.cs
- GridViewSortEventArgs.cs
- URL.cs
- ReadOnlyObservableCollection.cs
- RequestCachePolicyConverter.cs
- CompensationTokenData.cs
- DataSourceSelectArguments.cs
- DataSourceExpression.cs
- AdornerPresentationContext.cs
- TypeDependencyAttribute.cs
- DockProviderWrapper.cs
- LocalClientSecuritySettings.cs
- Base64Stream.cs
- TextTreeTextNode.cs
- DbExpressionRules.cs
- BamlLocalizabilityResolver.cs
- GlobalProxySelection.cs
- Formatter.cs
- DataGridParentRows.cs
- PrincipalPermissionMode.cs
- WhileDesigner.xaml.cs
- NotifyInputEventArgs.cs
- RegexMatchCollection.cs
- ToolStripComboBox.cs
- SqlTransaction.cs
- LocalizedNameDescriptionPair.cs
- EdmValidator.cs
- ContextMenu.cs
- WorkingDirectoryEditor.cs
- WaitForChangedResult.cs
- SectionInformation.cs
- InputEventArgs.cs
- DotExpr.cs
- ShutDownListener.cs
- RewritingSimplifier.cs
- HuffModule.cs
- HotSpot.cs
- KeyValueSerializer.cs
- MasterPageCodeDomTreeGenerator.cs
- SqlClientWrapperSmiStreamChars.cs
- RemoteDebugger.cs
- NativeMethods.cs
- __TransparentProxy.cs
- SqlUserDefinedTypeAttribute.cs
- XsltConvert.cs
- ElementHost.cs
- CommandBindingCollection.cs
- BitmapFrameDecode.cs
- CookieHandler.cs
- PixelFormat.cs
- StatusBarDrawItemEvent.cs
- ZipIOExtraField.cs
- VisualStyleInformation.cs
- EventLogEntryCollection.cs
- StylusButtonEventArgs.cs
- RectangleConverter.cs
- CompositeDataBoundControl.cs
- MemberAssignment.cs
- TimeSpanParse.cs
- SchemaImporterExtensionElementCollection.cs
- CodeAttachEventStatement.cs
- AssemblyHash.cs
- Rotation3D.cs
- IpcPort.cs
- ClientSideProviderDescription.cs
- TrackBar.cs
- ChooseAction.cs
- TextEffectResolver.cs