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
- Empty.cs
- CodeGotoStatement.cs
- UseLicense.cs
- SingleSelectRootGridEntry.cs
- Inflater.cs
- DataObjectAttribute.cs
- WindowsImpersonationContext.cs
- AnonymousIdentificationSection.cs
- SqlServices.cs
- TableColumnCollection.cs
- FontDriver.cs
- ConsumerConnectionPointCollection.cs
- Semaphore.cs
- Container.cs
- SingleAnimationBase.cs
- ValueChangedEventManager.cs
- _ListenerResponseStream.cs
- ApplyTemplatesAction.cs
- FixUp.cs
- ValueTable.cs
- HelpProvider.cs
- DependencyProperty.cs
- errorpatternmatcher.cs
- PrimaryKeyTypeConverter.cs
- Part.cs
- NativeMethods.cs
- SecurityCriticalDataForSet.cs
- BaseDataBoundControl.cs
- QueryPageSettingsEventArgs.cs
- IProvider.cs
- RegisteredHiddenField.cs
- IriParsingElement.cs
- PartialCachingControl.cs
- SoapFault.cs
- WebMessageEncodingBindingElement.cs
- CustomDictionarySources.cs
- DataSourceXmlElementAttribute.cs
- Misc.cs
- DelegatedStream.cs
- ResourceContainer.cs
- LinqDataSourceValidationException.cs
- NetworkInterface.cs
- DataSourceProvider.cs
- LookupNode.cs
- WindowsFormsSectionHandler.cs
- CustomCategoryAttribute.cs
- Decimal.cs
- ActiveXHost.cs
- EntityClientCacheKey.cs
- SqlXmlStorage.cs
- CollectionViewGroupInternal.cs
- Image.cs
- SqlErrorCollection.cs
- safelinkcollection.cs
- DefaultBindingPropertyAttribute.cs
- ResponseStream.cs
- _HTTPDateParse.cs
- DiscoveryReferences.cs
- WebBrowserNavigatedEventHandler.cs
- securitymgrsite.cs
- PageParserFilter.cs
- Camera.cs
- ToolBarButtonClickEvent.cs
- SignatureToken.cs
- XmlSchemaCompilationSettings.cs
- SimpleBitVector32.cs
- LabelLiteral.cs
- SafeArrayRankMismatchException.cs
- TreeSet.cs
- EntityDataSourceMemberPath.cs
- ToolStripScrollButton.cs
- XmlAttributeOverrides.cs
- ErrorWebPart.cs
- DropTarget.cs
- TypeNameConverter.cs
- ReflectTypeDescriptionProvider.cs
- ConstraintConverter.cs
- remotingproxy.cs
- LabelEditEvent.cs
- WebPartRestoreVerb.cs
- NumericUpDownAcceleration.cs
- CreateParams.cs
- ElementNotAvailableException.cs
- WsdlHelpGeneratorElement.cs
- ObjectItemConventionAssemblyLoader.cs
- Nodes.cs
- ProviderBase.cs
- UrlPath.cs
- PtsCache.cs
- GlyphRunDrawing.cs
- EnvelopedPkcs7.cs
- _ListenerAsyncResult.cs
- DomNameTable.cs
- ProgressBarHighlightConverter.cs
- InternalBase.cs
- _ConnectOverlappedAsyncResult.cs
- WindowsFont.cs
- ControlValuePropertyAttribute.cs
- ManualResetEvent.cs
- ErrorHandler.cs