Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / 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
- ConfigXmlText.cs
- MetadataCacheItem.cs
- HttpStaticObjectsCollectionBase.cs
- ImmComposition.cs
- FtpCachePolicyElement.cs
- ZipFileInfo.cs
- DataRowChangeEvent.cs
- UnsafeNativeMethods.cs
- GrammarBuilderDictation.cs
- MatrixCamera.cs
- ObjectCloneHelper.cs
- DataList.cs
- CellPartitioner.cs
- MonitorWrapper.cs
- SetterBase.cs
- UIHelper.cs
- _Connection.cs
- XmlNavigatorFilter.cs
- VectorAnimationBase.cs
- Aggregates.cs
- FlowDocumentPaginator.cs
- MarginsConverter.cs
- ConfigXmlComment.cs
- Emitter.cs
- ConsoleTraceListener.cs
- ImageConverter.cs
- TableColumn.cs
- Popup.cs
- DataSourceXmlSerializer.cs
- Stack.cs
- SerializationException.cs
- FieldDescriptor.cs
- DesignerLabelAdapter.cs
- SystemWebCachingSectionGroup.cs
- XLinq.cs
- DataRecordInternal.cs
- RuntimeArgumentHandle.cs
- PersonalizationStateQuery.cs
- Models.cs
- Literal.cs
- PersonalizationStateInfoCollection.cs
- AuthenticatingEventArgs.cs
- ServicePoint.cs
- EntityDataSourceChangingEventArgs.cs
- XmlUtilWriter.cs
- CompressedStack.cs
- XmlDocumentFieldSchema.cs
- COSERVERINFO.cs
- OptimalBreakSession.cs
- HtmlTextArea.cs
- SrgsToken.cs
- XmlExpressionDumper.cs
- TextRunCache.cs
- ListSortDescriptionCollection.cs
- DataGridViewDataErrorEventArgs.cs
- DynamicValidator.cs
- New.cs
- HostedImpersonationContext.cs
- DocumentationServerProtocol.cs
- MarkupCompilePass2.cs
- HandlerWithFactory.cs
- FakeModelPropertyImpl.cs
- ReverseInheritProperty.cs
- RefreshPropertiesAttribute.cs
- ListViewGroupConverter.cs
- ConnectionConsumerAttribute.cs
- QueryAsyncResult.cs
- ExceptionAggregator.cs
- TripleDESCryptoServiceProvider.cs
- SmtpDigestAuthenticationModule.cs
- CounterCreationData.cs
- DataGridViewCell.cs
- StrokeCollectionDefaultValueFactory.cs
- PageVisual.cs
- WorkflowMessageEventArgs.cs
- DataObjectSettingDataEventArgs.cs
- Misc.cs
- CalendarTable.cs
- ServiceMetadataExtension.cs
- TableLayoutPanel.cs
- UIElement.cs
- ItemsPresenter.cs
- DeclarativeCatalogPart.cs
- ConfigXmlReader.cs
- Parameter.cs
- LayoutDump.cs
- TargetParameterCountException.cs
- ReferenceCountedObject.cs
- PageThemeBuildProvider.cs
- XamlPointCollectionSerializer.cs
- ClearTypeHintValidation.cs
- Grant.cs
- ProviderBase.cs
- StorageFunctionMapping.cs
- ScrollData.cs
- CustomAttribute.cs
- TextShapeableCharacters.cs
- ClientSession.cs
- WebBrowserDesigner.cs
- ConfigsHelper.cs