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
- PropertyTab.cs
- UriPrefixTable.cs
- WindowsTreeView.cs
- EndEvent.cs
- OptimisticConcurrencyException.cs
- TreeViewEvent.cs
- DataGridLengthConverter.cs
- SizeAnimationBase.cs
- LocatorManager.cs
- TabItem.cs
- wmiprovider.cs
- XamlFilter.cs
- ContentControl.cs
- AnnotationMap.cs
- IODescriptionAttribute.cs
- URLIdentityPermission.cs
- BufferedGenericXmlSecurityToken.cs
- BaseTemplateParser.cs
- CodeValidator.cs
- SpellCheck.cs
- ScrollPattern.cs
- ContextStaticAttribute.cs
- WindowsListViewItemCheckBox.cs
- SafeBitVector32.cs
- Application.cs
- WebExceptionStatus.cs
- IisTraceListener.cs
- CurrencyWrapper.cs
- EdmFunctionAttribute.cs
- RSAPKCS1SignatureDeformatter.cs
- FeatureManager.cs
- CodeMethodInvokeExpression.cs
- ThemeDirectoryCompiler.cs
- Button.cs
- FontStyle.cs
- StringBuilder.cs
- XPathSelfQuery.cs
- serverconfig.cs
- mongolianshape.cs
- EventProviderBase.cs
- BinaryReader.cs
- XmlTextReaderImplHelpers.cs
- Profiler.cs
- EmissiveMaterial.cs
- MinMaxParagraphWidth.cs
- SqlGenericUtil.cs
- Calendar.cs
- MexHttpsBindingCollectionElement.cs
- TextEditorContextMenu.cs
- HtmlEncodedRawTextWriter.cs
- ProxyGenerationError.cs
- TypeValidationEventArgs.cs
- WsdlImporter.cs
- MasterPage.cs
- CommandBindingCollection.cs
- PropertyFilterAttribute.cs
- ApplicationManager.cs
- DuplicateWaitObjectException.cs
- UniqueTransportManagerRegistration.cs
- ExpressionConverter.cs
- ConfigurationFileMap.cs
- TreeNodeCollection.cs
- ToolStripItemCollection.cs
- OLEDB_Enum.cs
- UInt32Converter.cs
- PropertyGeneratedEventArgs.cs
- IteratorFilter.cs
- DataControlReference.cs
- OracleInternalConnection.cs
- MetadataSource.cs
- StyleXamlParser.cs
- CodeCastExpression.cs
- diagnosticsswitches.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- Int32RectValueSerializer.cs
- HttpModuleActionCollection.cs
- DuplicateWaitObjectException.cs
- Misc.cs
- WindowsListViewItemStartMenu.cs
- WindowsComboBox.cs
- ExitEventArgs.cs
- XPathDocumentIterator.cs
- WindowsFormsHelpers.cs
- BitmapEffectInput.cs
- ListenerChannelContext.cs
- FSWPathEditor.cs
- MarkupExtensionParser.cs
- TextTreeUndoUnit.cs
- PowerModeChangedEventArgs.cs
- DragEvent.cs
- DataException.cs
- ContainerVisual.cs
- XsdValidatingReader.cs
- SamlSubjectStatement.cs
- BitmapDecoder.cs
- DbParameterHelper.cs
- DBCSCodePageEncoding.cs
- Serializer.cs
- Int64AnimationUsingKeyFrames.cs
- ServiceSettingsResponseInfo.cs