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 / 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
- CompilerTypeWithParams.cs
- filewebresponse.cs
- SafeMILHandle.cs
- sqlser.cs
- FormViewInsertEventArgs.cs
- BoundPropertyEntry.cs
- ScriptHandlerFactory.cs
- ContainsRowNumberChecker.cs
- TableLayoutStyleCollection.cs
- ValidationEventArgs.cs
- ToolStripItemRenderEventArgs.cs
- WindowsToolbar.cs
- LocalizableAttribute.cs
- SymbolEqualComparer.cs
- OdbcEnvironmentHandle.cs
- XPathNavigatorKeyComparer.cs
- AppLevelCompilationSectionCache.cs
- ByteAnimation.cs
- EventRouteFactory.cs
- ReflectionServiceProvider.cs
- DocumentApplicationJournalEntry.cs
- SchemaTypeEmitter.cs
- BitmapImage.cs
- GetPageNumberCompletedEventArgs.cs
- HTMLTagNameToTypeMapper.cs
- SqlCharStream.cs
- XmlSchemaIdentityConstraint.cs
- OrderedDictionary.cs
- SqlBulkCopy.cs
- SerializationSectionGroup.cs
- IdentifierCollection.cs
- LayoutSettings.cs
- DataGridViewRowPrePaintEventArgs.cs
- ActivityMetadata.cs
- DivideByZeroException.cs
- DataTableMappingCollection.cs
- _NtlmClient.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- GridView.cs
- LostFocusEventManager.cs
- Pair.cs
- FontInfo.cs
- SessionPageStateSection.cs
- EntityViewGenerationAttribute.cs
- validation.cs
- CompilerCollection.cs
- InvalidOleVariantTypeException.cs
- DispatcherProcessingDisabled.cs
- HostedImpersonationContext.cs
- TextBoxRenderer.cs
- TableParaClient.cs
- StyleReferenceConverter.cs
- SystemNetworkInterface.cs
- RefExpr.cs
- FixedSOMLineRanges.cs
- FunctionMappingTranslator.cs
- RegexParser.cs
- WebPartConnectVerb.cs
- PerformanceCounterPermissionEntry.cs
- TextTreeInsertElementUndoUnit.cs
- Exceptions.cs
- ImageInfo.cs
- ListViewCancelEventArgs.cs
- ComplexLine.cs
- SchemaDeclBase.cs
- unsafeIndexingFilterStream.cs
- DictationGrammar.cs
- SoapMessage.cs
- DBCommand.cs
- ApplicationException.cs
- CodeObjectCreateExpression.cs
- DataGridRow.cs
- NumberSubstitution.cs
- TreeNodeCollection.cs
- sqlser.cs
- elementinformation.cs
- sqlcontext.cs
- Int64AnimationBase.cs
- SqlUnionizer.cs
- XmlDeclaration.cs
- InOutArgumentConverter.cs
- StaticSiteMapProvider.cs
- Crypto.cs
- WebPartZoneBase.cs
- ExpressionHelper.cs
- KeyInterop.cs
- WindowsTokenRoleProvider.cs
- SimpleRecyclingCache.cs
- XmlLanguage.cs
- WindowVisualStateTracker.cs
- FormViewInsertedEventArgs.cs
- ProfileService.cs
- TransformerConfigurationWizardBase.cs
- MarginsConverter.cs
- PointLight.cs
- TableAutomationPeer.cs
- XsltException.cs
- NativeMethods.cs
- MouseButtonEventArgs.cs
- DynamicValueConverter.cs