Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / Configuration / ConfigXmlWhitespace.cs / 1305376 / 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
- CompilationRelaxations.cs
- Latin1Encoding.cs
- AssociationTypeEmitter.cs
- Graph.cs
- XmlSchemaSet.cs
- PrintController.cs
- TypeResolver.cs
- DocumentApplication.cs
- DockAndAnchorLayout.cs
- _IPv6Address.cs
- Double.cs
- XmlAtomErrorReader.cs
- UpdateExpressionVisitor.cs
- PrintPreviewGraphics.cs
- TemplateBuilder.cs
- GuidelineCollection.cs
- RelationalExpressions.cs
- SevenBitStream.cs
- TransportSecurityHelpers.cs
- CatalogPart.cs
- XmlILModule.cs
- RTLAwareMessageBox.cs
- RuleProcessor.cs
- PersonalizationProvider.cs
- TokenizerHelper.cs
- SafeBitVector32.cs
- StyleHelper.cs
- MsmqMessageSerializationFormat.cs
- InputProcessorProfilesLoader.cs
- CollectionContainer.cs
- TdsParserSessionPool.cs
- DateTimeUtil.cs
- SiteMap.cs
- ExpressionLink.cs
- CardSpaceShim.cs
- SiteMapNodeCollection.cs
- Rect3DConverter.cs
- IdnMapping.cs
- SessionPageStateSection.cs
- TraceEventCache.cs
- ExecutionEngineException.cs
- PhysicalOps.cs
- HitTestFilterBehavior.cs
- WindowsButton.cs
- HTMLTagNameToTypeMapper.cs
- HtmlTitle.cs
- Options.cs
- RegistryDataKey.cs
- UnsafeNativeMethods.cs
- Expander.cs
- TimeSpan.cs
- SmtpReplyReaderFactory.cs
- LinqDataSourceEditData.cs
- ObjectParameter.cs
- EventDescriptor.cs
- HttpContext.cs
- UniqueSet.cs
- ISCIIEncoding.cs
- SQLByteStorage.cs
- HtmlElementEventArgs.cs
- TemplateControl.cs
- Typeface.cs
- XsltSettings.cs
- TimeoutException.cs
- ResourceAttributes.cs
- ADRoleFactoryConfiguration.cs
- XmlProcessingInstruction.cs
- MimeMultiPart.cs
- ChannelManager.cs
- MessageQueueCriteria.cs
- DataTableExtensions.cs
- ToggleButtonAutomationPeer.cs
- SeekStoryboard.cs
- HasCopySemanticsAttribute.cs
- BindingExpressionBase.cs
- TableLayoutSettingsTypeConverter.cs
- XmlLinkedNode.cs
- CheckBoxBaseAdapter.cs
- BroadcastEventHelper.cs
- Viewport2DVisual3D.cs
- ArgumentsParser.cs
- sqlstateclientmanager.cs
- ResourcesBuildProvider.cs
- DataGridViewTextBoxColumn.cs
- Button.cs
- Journaling.cs
- RelatedView.cs
- SqlConnectionPoolGroupProviderInfo.cs
- OdbcError.cs
- FreezableDefaultValueFactory.cs
- TemplateField.cs
- DataGridViewButtonColumn.cs
- AnnotationComponentManager.cs
- TracingConnectionListener.cs
- XmlWellformedWriter.cs
- NotFiniteNumberException.cs
- SafeArrayRankMismatchException.cs
- CompositionTarget.cs
- SimplePropertyEntry.cs
- TextEditorContextMenu.cs