Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- StaticDataManager.cs
- ListItem.cs
- BitmapEffectInput.cs
- IfAction.cs
- VBCodeProvider.cs
- XamlFigureLengthSerializer.cs
- GlobalEventManager.cs
- SecurityContextCookieSerializer.cs
- ColorPalette.cs
- HttpRuntime.cs
- MaterialGroup.cs
- EntityDataSourceConfigureObjectContext.cs
- OdbcConnectionPoolProviderInfo.cs
- FloatSumAggregationOperator.cs
- UnsafePeerToPeerMethods.cs
- CompoundFileStreamReference.cs
- OracleEncoding.cs
- PointAnimation.cs
- ResourceLoader.cs
- CodeTypeParameter.cs
- AvTrace.cs
- WebServiceMethodData.cs
- PinnedBufferMemoryStream.cs
- DetailsViewDeletedEventArgs.cs
- SystemColors.cs
- CachedTypeface.cs
- ObjectItemAttributeAssemblyLoader.cs
- SystemFonts.cs
- SchemaEntity.cs
- XPathMultyIterator.cs
- OrderedHashRepartitionEnumerator.cs
- ComponentResourceKey.cs
- XhtmlBasicLinkAdapter.cs
- Signature.cs
- InkCanvasSelection.cs
- SemaphoreSlim.cs
- PropertyEmitterBase.cs
- ViewValidator.cs
- Hashtable.cs
- SystemResourceHost.cs
- BitmapEffectGroup.cs
- WsatConfiguration.cs
- ExpressionConverter.cs
- ProfileService.cs
- HWStack.cs
- TreeViewItemAutomationPeer.cs
- TextEffectResolver.cs
- SrgsGrammar.cs
- AesManaged.cs
- ContourSegment.cs
- Sql8ConformanceChecker.cs
- RouteValueDictionary.cs
- XmlSchemaObjectCollection.cs
- UInt16Converter.cs
- ToolStripSplitButton.cs
- PointConverter.cs
- HttpContext.cs
- GeometryModel3D.cs
- BreadCrumbTextConverter.cs
- unitconverter.cs
- EntityPropertyMappingAttribute.cs
- CodeCommentStatement.cs
- SystemIcmpV6Statistics.cs
- SelectedDatesCollection.cs
- ImageFormatConverter.cs
- DictionaryEntry.cs
- TypeCodeDomSerializer.cs
- ExtensionFile.cs
- DeferredElementTreeState.cs
- GregorianCalendar.cs
- CustomTypeDescriptor.cs
- EventRecord.cs
- UpDownBaseDesigner.cs
- BufferedGraphics.cs
- CachedCompositeFamily.cs
- ProjectionCamera.cs
- LoginView.cs
- ServiceDesigner.cs
- QueryableFilterUserControl.cs
- TypedServiceOperationListItem.cs
- WebPart.cs
- ButtonBaseAdapter.cs
- ListBase.cs
- ReferentialConstraint.cs
- TransactionManager.cs
- AutomationElementIdentifiers.cs
- WinOEToolBoxItem.cs
- ToolboxDataAttribute.cs
- AlgoModule.cs
- ResXResourceReader.cs
- SqlDataSourceCache.cs
- ConfigXmlCDataSection.cs
- DrawListViewColumnHeaderEventArgs.cs
- ListBoxItemWrapperAutomationPeer.cs
- PreservationFileReader.cs
- OracleColumn.cs
- MetadataItemCollectionFactory.cs
- WindowsFormsHelpers.cs
- ExpressionLexer.cs
- PriorityBindingExpression.cs