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
- TextEditorCharacters.cs
- ObjectConverter.cs
- BrowsableAttribute.cs
- MsmqChannelFactory.cs
- MethodCallConverter.cs
- IISUnsafeMethods.cs
- MsmqHostedTransportManager.cs
- HttpProfileBase.cs
- IItemContainerGenerator.cs
- TextElementAutomationPeer.cs
- WebPartTransformer.cs
- X500Name.cs
- AsymmetricSignatureDeformatter.cs
- CompoundFileStorageReference.cs
- DataGridViewButtonCell.cs
- ByteConverter.cs
- TreeNode.cs
- PropertyTab.cs
- TablePattern.cs
- CancelEventArgs.cs
- Section.cs
- DataTrigger.cs
- AbstractSvcMapFileLoader.cs
- EtwTrackingParticipant.cs
- ConsoleTraceListener.cs
- ComUdtElementCollection.cs
- TriggerAction.cs
- RestHandlerFactory.cs
- ThreadAbortException.cs
- CodeSubDirectory.cs
- DataListItemCollection.cs
- ToolstripProfessionalRenderer.cs
- TrustLevel.cs
- StdRegProviderWrapper.cs
- CompiledELinqQueryState.cs
- RoutedPropertyChangedEventArgs.cs
- StopRoutingHandler.cs
- IdentifierService.cs
- DataContext.cs
- WebEventCodes.cs
- RSACryptoServiceProvider.cs
- IndexedGlyphRun.cs
- EntryPointNotFoundException.cs
- DesignerTransactionCloseEvent.cs
- Block.cs
- DataControlFieldHeaderCell.cs
- control.ime.cs
- BoundingRectTracker.cs
- DesignerObject.cs
- CoreSwitches.cs
- Authorization.cs
- RequestCacheValidator.cs
- AssociationSetEnd.cs
- BooleanToVisibilityConverter.cs
- HMAC.cs
- ApplicationActivator.cs
- StaticTextPointer.cs
- XmlUTF8TextReader.cs
- ToolStripGripRenderEventArgs.cs
- DbConnectionInternal.cs
- KeyMatchBuilder.cs
- TemplateBindingExpression.cs
- StringFreezingAttribute.cs
- XmlUTF8TextReader.cs
- WorkflowInspectionServices.cs
- GridLength.cs
- TouchPoint.cs
- TracingConnectionListener.cs
- HttpWriter.cs
- TreeBuilderXamlTranslator.cs
- MediaElement.cs
- QueryCursorEventArgs.cs
- Operators.cs
- StrongNamePublicKeyBlob.cs
- EnglishPluralizationService.cs
- NativeCppClassAttribute.cs
- RuntimeConfigLKG.cs
- DataGridColumnDropSeparator.cs
- CommonBehaviorsSection.cs
- UnmanagedMemoryStreamWrapper.cs
- TypeProvider.cs
- RegexCapture.cs
- UIHelper.cs
- ServiceOperation.cs
- StateManagedCollection.cs
- Parameter.cs
- X509Chain.cs
- GenericsNotImplementedException.cs
- GeneralTransform3DTo2DTo3D.cs
- EntryIndex.cs
- UIElementParagraph.cs
- SecurityUtils.cs
- ErrorTableItemStyle.cs
- DataTrigger.cs
- CheckBoxAutomationPeer.cs
- QuarticEase.cs
- QuaternionRotation3D.cs
- HttpResponseInternalWrapper.cs
- CmsUtils.cs
- TextBox.cs