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
- TracingConnection.cs
- TimeoutTimer.cs
- ProfileBuildProvider.cs
- ReferentialConstraint.cs
- ListViewGroup.cs
- dataobject.cs
- EntityClassGenerator.cs
- MessageQueueCriteria.cs
- XmlSerializerSection.cs
- SmiTypedGetterSetter.cs
- DesignColumnCollection.cs
- StdValidatorsAndConverters.cs
- UnmanagedMemoryStreamWrapper.cs
- Stacktrace.cs
- GeneralTransformGroup.cs
- ObjectPersistData.cs
- EffectiveValueEntry.cs
- ViewLoader.cs
- OrderPreservingPipeliningSpoolingTask.cs
- Encoder.cs
- ReadWriteObjectLock.cs
- ListSourceHelper.cs
- DesignSurface.cs
- XsltSettings.cs
- HtmlButton.cs
- ProxyManager.cs
- ComponentDispatcherThread.cs
- ListViewItemSelectionChangedEvent.cs
- ApplicationSecurityManager.cs
- ErrorFormatter.cs
- MultiSelectRootGridEntry.cs
- GlyphRunDrawing.cs
- CryptoStream.cs
- XmlNamespaceDeclarationsAttribute.cs
- TaskHelper.cs
- EdmComplexTypeAttribute.cs
- Binding.cs
- DataGridViewRowPostPaintEventArgs.cs
- SynchronizationContext.cs
- ControlsConfig.cs
- CurrentChangingEventArgs.cs
- ProgressBarRenderer.cs
- WeakReference.cs
- InsufficientMemoryException.cs
- ConstraintCollection.cs
- IndexedString.cs
- unsafenativemethodsother.cs
- XmlDocumentSerializer.cs
- TextRangeSerialization.cs
- SapiRecoContext.cs
- HwndHostAutomationPeer.cs
- ClientRoleProvider.cs
- NameTable.cs
- ProbeMatchesMessage11.cs
- AdRotator.cs
- QuerySubExprEliminator.cs
- ColumnResizeAdorner.cs
- CustomAttributeFormatException.cs
- StringValidator.cs
- UserInitiatedRoutedEventPermission.cs
- ToolStripStatusLabel.cs
- Baml2006ReaderSettings.cs
- TrackingProfileCache.cs
- OutputScope.cs
- WhitespaceSignificantCollectionAttribute.cs
- MulticastOption.cs
- FramingChannels.cs
- ParallelTimeline.cs
- ProjectionCamera.cs
- SafeLibraryHandle.cs
- MetadataExchangeBindings.cs
- Rights.cs
- CustomErrorCollection.cs
- MenuItemBinding.cs
- ListManagerBindingsCollection.cs
- OdbcConnectionPoolProviderInfo.cs
- xamlnodes.cs
- FontFamily.cs
- BinaryExpressionHelper.cs
- Permission.cs
- TimeSpanValidator.cs
- MaterialGroup.cs
- CompilerHelpers.cs
- SpellerHighlightLayer.cs
- WebPartManager.cs
- ClosableStream.cs
- BindingListCollectionView.cs
- ObjectParameterCollection.cs
- HttpCookiesSection.cs
- SpeechAudioFormatInfo.cs
- XmlParserContext.cs
- TraceEventCache.cs
- HtmlControlPersistable.cs
- HttpWebRequestElement.cs
- RangeBaseAutomationPeer.cs
- AstNode.cs
- KnownTypeHelper.cs
- WebDisplayNameAttribute.cs
- DataViewManagerListItemTypeDescriptor.cs
- InputLanguageEventArgs.cs