Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlSignificantWhitespace.cs / 1305376 / 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
- CodeConditionStatement.cs
- MenuAdapter.cs
- ComboBoxAutomationPeer.cs
- UnsafeNativeMethods.cs
- FtpWebResponse.cs
- ObjectRef.cs
- SequentialActivityDesigner.cs
- TcpChannelListener.cs
- Point3DValueSerializer.cs
- UndoEngine.cs
- MenuCommandService.cs
- ADMembershipUser.cs
- AutoScrollExpandMessageFilter.cs
- Span.cs
- HtmlInputReset.cs
- ValidatingReaderNodeData.cs
- ContentHostHelper.cs
- DataGridItemEventArgs.cs
- ValueConversionAttribute.cs
- ToolboxCategory.cs
- HyperlinkAutomationPeer.cs
- SecurityCriticalDataForSet.cs
- XsltConvert.cs
- PageBuildProvider.cs
- AdPostCacheSubstitution.cs
- DoubleAnimationUsingPath.cs
- CategoryAttribute.cs
- DataControlFieldCell.cs
- InfoCardSchemas.cs
- TrimSurroundingWhitespaceAttribute.cs
- DataObjectEventArgs.cs
- NumericPagerField.cs
- TokenBasedSetEnumerator.cs
- WebCategoryAttribute.cs
- SafeNativeMethods.cs
- MimeTextImporter.cs
- XmlElementCollection.cs
- Slider.cs
- SiteMapDataSourceView.cs
- StyleHelper.cs
- CodeValidator.cs
- BasicExpressionVisitor.cs
- SessionStateItemCollection.cs
- LightweightCodeGenerator.cs
- InputLanguageSource.cs
- HttpListenerElement.cs
- HTMLTextWriter.cs
- DtrList.cs
- AnimatedTypeHelpers.cs
- BoundPropertyEntry.cs
- HandlerFactoryWrapper.cs
- _DisconnectOverlappedAsyncResult.cs
- InkPresenterAutomationPeer.cs
- ListenerConnectionModeReader.cs
- PlacementWorkspace.cs
- InputScopeManager.cs
- GraphicsContainer.cs
- DBNull.cs
- DisplayInformation.cs
- SerializationException.cs
- EventLogPermissionEntry.cs
- DataGridViewCellValidatingEventArgs.cs
- SchemaExporter.cs
- Attachment.cs
- URLMembershipCondition.cs
- ListViewInsertEventArgs.cs
- ColumnResizeUndoUnit.cs
- WorkflowDesignerMessageFilter.cs
- SafeSecurityHandles.cs
- ICspAsymmetricAlgorithm.cs
- RIPEMD160.cs
- initElementDictionary.cs
- LayoutEditorPart.cs
- StagingAreaInputItem.cs
- ConstNode.cs
- SQLDateTimeStorage.cs
- ExpressionVisitor.cs
- CodeExporter.cs
- DeploymentSectionCache.cs
- Internal.cs
- DoubleMinMaxAggregationOperator.cs
- BinaryNode.cs
- KnownAssemblyEntry.cs
- TcpTransportBindingElement.cs
- PseudoWebRequest.cs
- PersistenceProviderBehavior.cs
- FontDriver.cs
- Point3DCollection.cs
- CultureSpecificStringDictionary.cs
- TypedTableBaseExtensions.cs
- ToolStripDropDownClosingEventArgs.cs
- XmlAttributeOverrides.cs
- KeyInterop.cs
- ApplicationId.cs
- XmlDocumentSchema.cs
- ConnectionPoint.cs
- EventLogException.cs
- SecurityProtocolFactory.cs
- SHA256Managed.cs
- ImmutableObjectAttribute.cs