Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Sys / 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
- PrimitiveCodeDomSerializer.cs
- ConnectionStringEditor.cs
- OnOperation.cs
- WebPartVerbsEventArgs.cs
- XmlSignatureProperties.cs
- Configuration.cs
- MatrixKeyFrameCollection.cs
- RequestTimeoutManager.cs
- Compiler.cs
- Themes.cs
- AccessViolationException.cs
- ColorPalette.cs
- SqlNodeAnnotation.cs
- ConstructorArgumentAttribute.cs
- SQLByteStorage.cs
- FileLogRecordEnumerator.cs
- MessageCredentialType.cs
- MailMessageEventArgs.cs
- RichTextBoxAutomationPeer.cs
- AppSettingsExpressionBuilder.cs
- SelectionPatternIdentifiers.cs
- AppDomainProtocolHandler.cs
- CountAggregationOperator.cs
- DbModificationCommandTree.cs
- X509ChainElement.cs
- DebugView.cs
- BasicViewGenerator.cs
- UnsafeNativeMethodsMilCoreApi.cs
- Operator.cs
- GridViewUpdateEventArgs.cs
- DecoderBestFitFallback.cs
- ChildDocumentBlock.cs
- LayoutSettings.cs
- SecurityResources.cs
- AmbientProperties.cs
- RegexMatchCollection.cs
- HtmlImage.cs
- EditorPartCollection.cs
- SelectiveScrollingGrid.cs
- IdentityReference.cs
- MappingSource.cs
- TypefaceCollection.cs
- WeakReferenceKey.cs
- GroupBoxRenderer.cs
- ActivityPreviewDesigner.cs
- CustomAssemblyResolver.cs
- AmbientLight.cs
- DirectoryNotFoundException.cs
- _ChunkParse.cs
- VectorKeyFrameCollection.cs
- ProfileSettingsCollection.cs
- TextProperties.cs
- PeerCollaborationPermission.cs
- InternalBufferOverflowException.cs
- OpenTypeCommon.cs
- MailBnfHelper.cs
- ContentType.cs
- SignedInfo.cs
- ReflectionUtil.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- InputScope.cs
- SmtpDigestAuthenticationModule.cs
- DirectoryNotFoundException.cs
- FilterException.cs
- ColorContext.cs
- SafeWaitHandle.cs
- DisplayInformation.cs
- UserPreferenceChangedEventArgs.cs
- SqlProviderManifest.cs
- MouseButtonEventArgs.cs
- TransformConverter.cs
- ViewGenResults.cs
- AesManaged.cs
- X509Utils.cs
- WhiteSpaceTrimStringConverter.cs
- LoginCancelEventArgs.cs
- AssociationSetEnd.cs
- ZipArchive.cs
- UnSafeCharBuffer.cs
- UnsafeNativeMethods.cs
- ClientSideQueueItem.cs
- DefaultPrintController.cs
- RoutingBehavior.cs
- WebReferencesBuildProvider.cs
- PrimaryKeyTypeConverter.cs
- DecodeHelper.cs
- BindingManagerDataErrorEventArgs.cs
- GetLastErrorDetailsRequest.cs
- MediaCommands.cs
- DeleteStoreRequest.cs
- FamilyTypefaceCollection.cs
- HtmlInputPassword.cs
- ApplicationCommands.cs
- DataQuery.cs
- TerminatorSinks.cs
- ExpressionBuilder.cs
- MimeBasePart.cs
- WebBrowser.cs
- TrustLevelCollection.cs
- NavigationWindowAutomationPeer.cs