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
- JsonDataContract.cs
- SQLDecimalStorage.cs
- ComplusTypeValidator.cs
- ToolStripContentPanelRenderEventArgs.cs
- ResourceContainer.cs
- AsyncOperationContext.cs
- ObjectCache.cs
- DocumentNUp.cs
- TextFormatterHost.cs
- BaseCodeDomTreeGenerator.cs
- XmlSerializationWriter.cs
- TextComposition.cs
- BypassElementCollection.cs
- ForeignKeyConstraint.cs
- DecoderNLS.cs
- TextEditorLists.cs
- PrintDocument.cs
- UrlAuthorizationModule.cs
- RefreshInfo.cs
- RequiredAttributeAttribute.cs
- XmlDesigner.cs
- RegexBoyerMoore.cs
- ConfigurationValidatorAttribute.cs
- BasicCellRelation.cs
- ComponentSerializationService.cs
- TextBreakpoint.cs
- DbConvert.cs
- HwndSource.cs
- FillErrorEventArgs.cs
- CounterCreationDataConverter.cs
- StickyNoteHelper.cs
- HttpListenerRequest.cs
- RemoteWebConfigurationHost.cs
- CompoundFileDeflateTransform.cs
- ExceptionRoutedEventArgs.cs
- CodeGeneratorAttribute.cs
- PeerNearMe.cs
- WebBrowser.cs
- MSAAEventDispatcher.cs
- Mutex.cs
- SqlDataSourceQueryEditorForm.cs
- SafeIUnknown.cs
- GorillaCodec.cs
- DashStyles.cs
- EtwProvider.cs
- controlskin.cs
- ImpersonateTokenRef.cs
- BitStream.cs
- SizeKeyFrameCollection.cs
- DefaultSection.cs
- WindowsListViewGroup.cs
- CopyOnWriteList.cs
- TypeConverter.cs
- DateTimeParse.cs
- TemplateInstanceAttribute.cs
- BulletedListEventArgs.cs
- NotificationContext.cs
- TextRangeProviderWrapper.cs
- XslCompiledTransform.cs
- WindowsGraphics2.cs
- BaseTemplateBuildProvider.cs
- CancellationHandlerDesigner.cs
- ExpressionTable.cs
- ChangeBlockUndoRecord.cs
- SafeLocalMemHandle.cs
- MruCache.cs
- Helper.cs
- UTF32Encoding.cs
- InternalRelationshipCollection.cs
- SystemTcpStatistics.cs
- DocumentOrderQuery.cs
- Vertex.cs
- PathSegmentCollection.cs
- PersonalizationProviderCollection.cs
- ToolStripDropDownMenu.cs
- WindowsListViewSubItem.cs
- WsdlWriter.cs
- XPathNodeInfoAtom.cs
- WmlControlAdapter.cs
- LayoutTableCell.cs
- PackageFilter.cs
- GregorianCalendarHelper.cs
- BufferedGraphicsManager.cs
- EnumDataContract.cs
- SetterBase.cs
- SecureUICommand.cs
- ListMarkerSourceInfo.cs
- XmlReturnReader.cs
- XmlnsPrefixAttribute.cs
- ProfileBuildProvider.cs
- RegexInterpreter.cs
- ContractReference.cs
- SignedPkcs7.cs
- VectorAnimationUsingKeyFrames.cs
- NTAccount.cs
- ApplicationBuildProvider.cs
- TemplatedMailWebEventProvider.cs
- WorkflowCommandExtensionItem.cs
- LookupBindingPropertiesAttribute.cs
- ExceptionUtil.cs