Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Sys / 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
- Calendar.cs
- XsdBuilder.cs
- HiddenField.cs
- PropertyToken.cs
- SystemWebSectionGroup.cs
- TypeForwardedFromAttribute.cs
- SerializerWriterEventHandlers.cs
- cache.cs
- InvokeBase.cs
- DebugView.cs
- LinqDataSourceEditData.cs
- TableLayoutSettingsTypeConverter.cs
- CodeExporter.cs
- SurrogateChar.cs
- SrgsItemList.cs
- Positioning.cs
- BamlLocalizer.cs
- ProtocolsSection.cs
- SizeFConverter.cs
- GridViewRowPresenterBase.cs
- BuildProviderCollection.cs
- TypedAsyncResult.cs
- ControlCodeDomSerializer.cs
- UserControlAutomationPeer.cs
- XmlDataCollection.cs
- JsonReaderDelegator.cs
- ValidatorUtils.cs
- CommandCollectionEditor.cs
- PasswordPropertyTextAttribute.cs
- BaseParagraph.cs
- VisualProxy.cs
- AttachedPropertyDescriptor.cs
- DocumentScope.cs
- DataFormat.cs
- SqlDataSourceQueryConverter.cs
- SynchronizationLockException.cs
- QilExpression.cs
- Material.cs
- ConnectionManagementSection.cs
- MarkerProperties.cs
- ADConnectionHelper.cs
- ListenerAdaptersInstallComponent.cs
- QilIterator.cs
- XmlEnumAttribute.cs
- _TLSstream.cs
- SqlDataSourceFilteringEventArgs.cs
- BuildManagerHost.cs
- newinstructionaction.cs
- IResourceProvider.cs
- LiteralLink.cs
- UserControlParser.cs
- ResourceReferenceExpression.cs
- XmlElementAttributes.cs
- NetStream.cs
- PriorityRange.cs
- RegexReplacement.cs
- DescendentsWalkerBase.cs
- JumpTask.cs
- XamlUtilities.cs
- ThreadPool.cs
- UnsafeNativeMethodsMilCoreApi.cs
- OdbcFactory.cs
- AssemblyFilter.cs
- XmlTextEncoder.cs
- HttpStaticObjectsCollectionWrapper.cs
- ValueUnavailableException.cs
- MimeReflector.cs
- ListViewCommandEventArgs.cs
- EventSourceCreationData.cs
- XmlBinaryReader.cs
- DateTimeStorage.cs
- _TransmitFileOverlappedAsyncResult.cs
- OuterGlowBitmapEffect.cs
- TextProviderWrapper.cs
- SafeArchiveContext.cs
- UnsafeNativeMethods.cs
- ParamArrayAttribute.cs
- Point3DAnimationUsingKeyFrames.cs
- PropertyChangedEventArgs.cs
- SocketPermission.cs
- FullTextState.cs
- CacheDependency.cs
- ErrorEventArgs.cs
- HttpHandlersSection.cs
- dbdatarecord.cs
- BaseDataListDesigner.cs
- Internal.cs
- XsdBuildProvider.cs
- Compiler.cs
- Transaction.cs
- EntityConnection.cs
- IdentityHolder.cs
- PartitionedDataSource.cs
- DBCSCodePageEncoding.cs
- ValueType.cs
- QuaternionValueSerializer.cs
- TextEditorLists.cs
- ApplicationSecurityInfo.cs
- SessionState.cs
- MobileControl.cs