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
- SecureEnvironment.cs
- NavigationWindow.cs
- EntityTypeBase.cs
- XmlDictionaryString.cs
- ExpressionConverter.cs
- DataPointer.cs
- DataGridViewDataConnection.cs
- AuthenticationSchemesHelper.cs
- TextBoxBase.cs
- CustomCredentialPolicy.cs
- sqlcontext.cs
- FormViewInsertEventArgs.cs
- DBConnectionString.cs
- TreeNodeCollectionEditor.cs
- EntityDataSourceQueryBuilder.cs
- TextTreeTextBlock.cs
- WebScriptMetadataMessageEncoderFactory.cs
- CallbackDebugBehavior.cs
- RotateTransform3D.cs
- LockCookie.cs
- UriTemplateTableMatchCandidate.cs
- XmlSerializerVersionAttribute.cs
- WindowsTokenRoleProvider.cs
- DataGridState.cs
- DiscoveryClientDocuments.cs
- PrimitiveXmlSerializers.cs
- CookieParameter.cs
- XmlName.cs
- TimeSpanStorage.cs
- oledbconnectionstring.cs
- TextRenderingModeValidation.cs
- ArgumentsParser.cs
- ShaperBuffers.cs
- DoubleLinkList.cs
- ExtensionSimplifierMarkupObject.cs
- XXXInfos.cs
- DoubleCollectionValueSerializer.cs
- SystemMulticastIPAddressInformation.cs
- dsa.cs
- HtmlElementErrorEventArgs.cs
- ISessionStateStore.cs
- SecurityUtils.cs
- MethodCallTranslator.cs
- ErrorRuntimeConfig.cs
- ToolStripButton.cs
- SyndicationItemFormatter.cs
- IItemProperties.cs
- CacheAxisQuery.cs
- SQLBytesStorage.cs
- DetailsViewModeEventArgs.cs
- RenderDataDrawingContext.cs
- XmlUtil.cs
- TraceSection.cs
- hresults.cs
- UrlMappingsSection.cs
- AutomationElementCollection.cs
- AncillaryOps.cs
- FrugalList.cs
- ViewStateModeByIdAttribute.cs
- SmtpFailedRecipientsException.cs
- RewritingProcessor.cs
- XmlNodeChangedEventManager.cs
- DateTimeFormat.cs
- ReservationNotFoundException.cs
- UnsafeNativeMethods.cs
- DPTypeDescriptorContext.cs
- CategoryAttribute.cs
- AppDomainAttributes.cs
- SmtpLoginAuthenticationModule.cs
- DataGridViewCellConverter.cs
- ZipIOCentralDirectoryBlock.cs
- SqlUdtInfo.cs
- IISMapPath.cs
- CurrentTimeZone.cs
- ThreadStartException.cs
- FastPropertyAccessor.cs
- CompiledELinqQueryState.cs
- OrCondition.cs
- WebCategoryAttribute.cs
- EntryWrittenEventArgs.cs
- CoreSwitches.cs
- COM2FontConverter.cs
- HtmlTable.cs
- SspiSecurityTokenProvider.cs
- ClientUtils.cs
- FrameworkReadOnlyPropertyMetadata.cs
- NotifyInputEventArgs.cs
- ListBindingHelper.cs
- ReflectionUtil.cs
- FixUpCollection.cs
- CLSCompliantAttribute.cs
- Int64Storage.cs
- TreeBuilderBamlTranslator.cs
- SchemaNotation.cs
- UdpDiscoveryEndpointProvider.cs
- Quaternion.cs
- _LocalDataStoreMgr.cs
- ListDictionaryInternal.cs
- InkCollectionBehavior.cs
- DictionaryContent.cs