Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / Configuration / ConfigXmlSignificantWhitespace.cs / 1305376 / 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
- FusionWrap.cs
- SignedXml.cs
- RequestCache.cs
- DayRenderEvent.cs
- VisualBasicReference.cs
- UnsafeNativeMethods.cs
- ActiveXHost.cs
- BooleanSwitch.cs
- Message.cs
- TemplateColumn.cs
- HtmlButton.cs
- WebRequestModuleElementCollection.cs
- FlowDocumentPageViewerAutomationPeer.cs
- DBConnection.cs
- OraclePermissionAttribute.cs
- DataListItem.cs
- GrammarBuilderBase.cs
- LateBoundBitmapDecoder.cs
- MouseWheelEventArgs.cs
- MailBnfHelper.cs
- MatcherBuilder.cs
- Profiler.cs
- HttpProfileBase.cs
- CodeAssignStatement.cs
- ConstructorBuilder.cs
- ImplicitInputBrush.cs
- Cursors.cs
- EventManager.cs
- VariableAction.cs
- DbProviderConfigurationHandler.cs
- ConfigXmlElement.cs
- TreeNodeEventArgs.cs
- PropertyBuilder.cs
- ReadOnlyHierarchicalDataSourceView.cs
- GroupItem.cs
- DataIdProcessor.cs
- SamlDelegatingWriter.cs
- HttpCachePolicy.cs
- mansign.cs
- MSAAWinEventWrap.cs
- KnownTypesProvider.cs
- counter.cs
- ListSourceHelper.cs
- FragmentQuery.cs
- SoundPlayer.cs
- Image.cs
- DataObjectMethodAttribute.cs
- Compiler.cs
- HtmlValidatorAdapter.cs
- HostedElements.cs
- Site.cs
- DataList.cs
- InheritablePropertyChangeInfo.cs
- X509SecurityToken.cs
- OracleParameter.cs
- SyntaxCheck.cs
- Int64Storage.cs
- PeerInputChannelListener.cs
- HostedElements.cs
- DeferredSelectedIndexReference.cs
- TimeIntervalCollection.cs
- ProtocolsConfiguration.cs
- ErrorRuntimeConfig.cs
- UntrustedRecipientException.cs
- DoubleAnimationUsingPath.cs
- ObjectParameter.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- FlowLayoutSettings.cs
- ObjectReaderCompiler.cs
- RuleSetDialog.Designer.cs
- HtmlGenericControl.cs
- FixUp.cs
- InvocationExpression.cs
- DocumentDesigner.cs
- PasswordPropertyTextAttribute.cs
- AppearanceEditorPart.cs
- UnsupportedPolicyOptionsException.cs
- MultiAsyncResult.cs
- InvalidPropValue.cs
- TokenBasedSetEnumerator.cs
- ColumnTypeConverter.cs
- AssemblyInfo.cs
- WebServiceData.cs
- ConstraintCollection.cs
- TypeInitializationException.cs
- MenuItem.cs
- VoiceChangeEventArgs.cs
- cookie.cs
- Transform.cs
- RelationHandler.cs
- ParsedRoute.cs
- HttpApplicationFactory.cs
- AutomationTextAttribute.cs
- Geometry3D.cs
- EncryptedType.cs
- DelayedRegex.cs
- MaxMessageSizeStream.cs
- CodeDOMUtility.cs
- PageAdapter.cs
- ValueOfAction.cs