Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / System / Configuration / ConfigXmlSignificantWhitespace.cs / 1 / 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
- Unit.cs
- XmlDownloadManager.cs
- ProtocolViolationException.cs
- MemberRelationshipService.cs
- OdbcStatementHandle.cs
- DataGridViewTextBoxColumn.cs
- ProxyHwnd.cs
- DialogResultConverter.cs
- VisualCollection.cs
- AssemblyCache.cs
- StringSorter.cs
- SHA1CryptoServiceProvider.cs
- FixedBufferAttribute.cs
- TimeSpan.cs
- GlyphRunDrawing.cs
- FreezableCollection.cs
- Trace.cs
- DataDocumentXPathNavigator.cs
- SafeReadContext.cs
- DriveNotFoundException.cs
- TemplateInstanceAttribute.cs
- OdbcStatementHandle.cs
- Triangle.cs
- SerializationInfoEnumerator.cs
- VectorCollectionValueSerializer.cs
- DataListItemCollection.cs
- Deflater.cs
- MenuItemBindingCollection.cs
- MetadataItemSerializer.cs
- WebHttpBindingElement.cs
- ResourceExpressionBuilder.cs
- CellTreeNode.cs
- KoreanCalendar.cs
- ToolboxItemFilterAttribute.cs
- XmlReader.cs
- EntitySqlQueryBuilder.cs
- ScriptRegistrationManager.cs
- TransactionInterop.cs
- ObjectConverter.cs
- ActivityWithResultWrapper.cs
- AppLevelCompilationSectionCache.cs
- EmptyEnumerable.cs
- __ComObject.cs
- TouchPoint.cs
- ChtmlTextBoxAdapter.cs
- XmlElement.cs
- NonVisualControlAttribute.cs
- MarkupCompilePass2.cs
- ToolStripGrip.cs
- MemberHolder.cs
- ReflectionHelper.cs
- EncryptedXml.cs
- SpeechSynthesizer.cs
- DataRecordInfo.cs
- SoapSchemaExporter.cs
- ZipIOLocalFileDataDescriptor.cs
- ObjectViewFactory.cs
- RefExpr.cs
- Symbol.cs
- RelationshipEndCollection.cs
- Helper.cs
- CmsInterop.cs
- WorkflowApplication.cs
- SolidColorBrush.cs
- HttpInputStream.cs
- QuestionEventArgs.cs
- CatalogPart.cs
- ShaderEffect.cs
- ToolStripCollectionEditor.cs
- FreezableCollection.cs
- HttpRawResponse.cs
- SmiConnection.cs
- XPathDescendantIterator.cs
- FormViewInsertedEventArgs.cs
- HuffModule.cs
- DrawListViewSubItemEventArgs.cs
- UInt16.cs
- PersonalizableAttribute.cs
- DataDocumentXPathNavigator.cs
- ForEachAction.cs
- LinearGradientBrush.cs
- _NegoState.cs
- PagePropertiesChangingEventArgs.cs
- ExtenderControl.cs
- safemediahandle.cs
- OperationCanceledException.cs
- SecUtil.cs
- WhitespaceRuleLookup.cs
- DbUpdateCommandTree.cs
- HttpApplicationFactory.cs
- SingleObjectCollection.cs
- RTTrackingProfile.cs
- DesignerSerializationVisibilityAttribute.cs
- PolicyManager.cs
- TextTrailingCharacterEllipsis.cs
- ISAPIApplicationHost.cs
- ListViewItemSelectionChangedEvent.cs
- TimeZone.cs
- TypedMessageConverter.cs
- Command.cs