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
- MouseEvent.cs
- Image.cs
- TransactionChannelFaultConverter.cs
- PriorityItem.cs
- BaseParagraph.cs
- SwitchElementsCollection.cs
- IntAverageAggregationOperator.cs
- MoveSizeWinEventHandler.cs
- ThemeDirectoryCompiler.cs
- UMPAttributes.cs
- SectionVisual.cs
- XmlUtil.cs
- ServiceObjectContainer.cs
- List.cs
- Help.cs
- ValueType.cs
- LinkedResourceCollection.cs
- PropertyItem.cs
- SerializerDescriptor.cs
- TextParentUndoUnit.cs
- ToolStripItemRenderEventArgs.cs
- MdImport.cs
- RectConverter.cs
- FixUpCollection.cs
- ComponentTray.cs
- ExtendedTransformFactory.cs
- FtpRequestCacheValidator.cs
- EndOfStreamException.cs
- Utils.cs
- CompositeKey.cs
- IsolatedStoragePermission.cs
- AssertUtility.cs
- ScrollChrome.cs
- RTLAwareMessageBox.cs
- PropertyValue.cs
- FieldAccessException.cs
- ItemMap.cs
- Point.cs
- Transform.cs
- RoutedUICommand.cs
- IgnoreDeviceFilterElement.cs
- FacetEnabledSchemaElement.cs
- RadioButtonDesigner.cs
- WorkflowItemsPresenter.cs
- _NativeSSPI.cs
- Unit.cs
- PageVisual.cs
- TemplateField.cs
- LinearKeyFrames.cs
- DrawingServices.cs
- ZoomPercentageConverter.cs
- InvokeProviderWrapper.cs
- GifBitmapDecoder.cs
- DataKey.cs
- OledbConnectionStringbuilder.cs
- TextStore.cs
- TextTreeTextElementNode.cs
- OutputScopeManager.cs
- WebServiceResponseDesigner.cs
- OleCmdHelper.cs
- SimpleRecyclingCache.cs
- ScriptReferenceEventArgs.cs
- ConnectionPoolManager.cs
- XmlIlGenerator.cs
- ServiceModelExtensionCollectionElement.cs
- PersonalizationStateInfo.cs
- BitmapEffectrendercontext.cs
- TailPinnedEventArgs.cs
- PenThreadPool.cs
- ZoneButton.cs
- RuntimeEnvironment.cs
- DelegateHelpers.cs
- PartManifestEntry.cs
- HtmlShim.cs
- BooleanAnimationBase.cs
- PersonalizationEntry.cs
- TraceContextRecord.cs
- Cursors.cs
- AnonymousIdentificationSection.cs
- WeakHashtable.cs
- PlanCompiler.cs
- Stylus.cs
- XmlAttribute.cs
- Unit.cs
- AnnotationAdorner.cs
- ISFTagAndGuidCache.cs
- DictionaryEntry.cs
- SqlExpressionNullability.cs
- CodeParameterDeclarationExpression.cs
- OperationPerformanceCounters.cs
- SessionStateUtil.cs
- FontUnit.cs
- Path.cs
- LineProperties.cs
- SrgsGrammarCompiler.cs
- ValidationSummary.cs
- DiscoveryMessageSequence.cs
- OAVariantLib.cs
- PartialList.cs
- CredentialCache.cs