Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / System / Configuration / ConfigXmlSignificantWhitespace.cs / 1 / ConfigXmlSignificantWhitespace.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 ConfigXmlSignificantWhitespace : XmlSignificantWhitespace, IConfigErrorInfo { public ConfigXmlSignificantWhitespace(string filename, int line, string strData, XmlDocument doc) : base(strData, 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); ConfigXmlSignificantWhitespace clone = cloneNode as ConfigXmlSignificantWhitespace; 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 ConfigXmlSignificantWhitespace : XmlSignificantWhitespace, IConfigErrorInfo { public ConfigXmlSignificantWhitespace(string filename, int line, string strData, XmlDocument doc) : base(strData, 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); ConfigXmlSignificantWhitespace clone = cloneNode as ConfigXmlSignificantWhitespace; 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
- ZipIOModeEnforcingStream.cs
- ResourceReferenceExpressionConverter.cs
- MethodBuilderInstantiation.cs
- Line.cs
- EmptyEnumerator.cs
- Fault.cs
- Token.cs
- Pair.cs
- Bitmap.cs
- HandlerWithFactory.cs
- ProgressBarRenderer.cs
- RuntimeConfig.cs
- WorkflowDesignerMessageFilter.cs
- GroupBox.cs
- DecoderExceptionFallback.cs
- HostedTransportConfigurationManager.cs
- StringBuilder.cs
- QueryStringHandler.cs
- CustomPopupPlacement.cs
- ValidationSummaryDesigner.cs
- TargetFrameworkUtil.cs
- WsatAdminException.cs
- FileRegion.cs
- TableStyle.cs
- PartitionedStream.cs
- XmlSchemaObjectCollection.cs
- StopStoryboard.cs
- Delegate.cs
- SqlCacheDependencyDatabase.cs
- PersonalizationAdministration.cs
- ControlBuilder.cs
- MyContact.cs
- EventLogInformation.cs
- ByteRangeDownloader.cs
- XmlQueryContext.cs
- AttachedAnnotationChangedEventArgs.cs
- CannotUnloadAppDomainException.cs
- FontStretches.cs
- ResourceReferenceKeyNotFoundException.cs
- SQLDouble.cs
- CustomBindingElementCollection.cs
- DirtyTextRange.cs
- DataGridViewCheckBoxColumn.cs
- TextCompositionEventArgs.cs
- BreadCrumbTextConverter.cs
- ErrorRuntimeConfig.cs
- BitmapDecoder.cs
- DataGridViewCheckBoxCell.cs
- GridViewRowEventArgs.cs
- ImageConverter.cs
- ProfilePropertySettings.cs
- DrawingVisualDrawingContext.cs
- TraceListeners.cs
- ProbeMatchesApril2005.cs
- StopStoryboard.cs
- DropDownHolder.cs
- BatchServiceHost.cs
- ListViewInsertEventArgs.cs
- HttpGetProtocolImporter.cs
- DBCommandBuilder.cs
- GroupBox.cs
- FixedTextBuilder.cs
- DocumentSequence.cs
- CodeSnippetTypeMember.cs
- ExpressionNode.cs
- RangeBaseAutomationPeer.cs
- EntityDataSourceMemberPath.cs
- ToolboxComponentsCreatingEventArgs.cs
- BitmapFrameEncode.cs
- X509ClientCertificateAuthentication.cs
- HttpStreamXmlDictionaryWriter.cs
- EpmContentDeSerializer.cs
- SecurityDescriptor.cs
- AuthenticationManager.cs
- Memoizer.cs
- HttpMethodConstraint.cs
- GZipStream.cs
- ValidatedControlConverter.cs
- FontWeight.cs
- CounterSample.cs
- TableRow.cs
- OleDbWrapper.cs
- MobileComponentEditorPage.cs
- WebPartChrome.cs
- PtsHelper.cs
- DBNull.cs
- TypeDelegator.cs
- WhileDesigner.cs
- SendMailErrorEventArgs.cs
- _NetRes.cs
- DataSourceGeneratorException.cs
- RegisteredExpandoAttribute.cs
- StylusPointProperty.cs
- InstancePersistenceEvent.cs
- EmptyEnumerator.cs
- RightsManagementEncryptionTransform.cs
- TemplateControlCodeDomTreeGenerator.cs
- XmlSchemaType.cs
- LookupNode.cs
- HeaderedItemsControl.cs