Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Sys / 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
- StringInfo.cs
- MarkupExtensionReturnTypeAttribute.cs
- ProcessStartInfo.cs
- VisualTreeUtils.cs
- DataBoundControl.cs
- WmlListAdapter.cs
- OneOfScalarConst.cs
- BasicExpandProvider.cs
- TargetInvocationException.cs
- ButtonFieldBase.cs
- _SSPIWrapper.cs
- EqualityArray.cs
- PbrsForward.cs
- CompModSwitches.cs
- HtmlForm.cs
- HtmlInputControl.cs
- ParameterCollection.cs
- XmlSchemaSequence.cs
- HtmlInputCheckBox.cs
- XPathEmptyIterator.cs
- Byte.cs
- DataGridRowHeaderAutomationPeer.cs
- UriSection.cs
- SqlTriggerContext.cs
- WebDisplayNameAttribute.cs
- ClientTarget.cs
- PTManager.cs
- PackWebResponse.cs
- ConnectionPoolManager.cs
- AnnotationResourceChangedEventArgs.cs
- NegationPusher.cs
- CodeVariableReferenceExpression.cs
- HttpServerVarsCollection.cs
- ApplyImportsAction.cs
- DesignerForm.cs
- PreviewControlDesigner.cs
- DataGridTableStyleMappingNameEditor.cs
- HostingEnvironment.cs
- OrderedEnumerableRowCollection.cs
- TableLayoutSettings.cs
- SubpageParagraph.cs
- WinInetCache.cs
- PathSegmentCollection.cs
- FreezableDefaultValueFactory.cs
- IdentityNotMappedException.cs
- GotoExpression.cs
- CellTreeNode.cs
- DataServiceHostWrapper.cs
- XmlTextWriter.cs
- DesignerOptions.cs
- FeatureAttribute.cs
- CalendarDay.cs
- TaiwanLunisolarCalendar.cs
- DesignObjectWrapper.cs
- FigureHelper.cs
- SendMailErrorEventArgs.cs
- EntityPropertyMappingAttribute.cs
- IdentifierElement.cs
- FontStretches.cs
- PrimaryKeyTypeConverter.cs
- BuilderInfo.cs
- ScrollProviderWrapper.cs
- BinaryCommonClasses.cs
- TransformerTypeCollection.cs
- AssemblyBuilderData.cs
- ArrangedElement.cs
- Executor.cs
- TextEncodedRawTextWriter.cs
- BitmapMetadata.cs
- SqlDataSourceParameterParser.cs
- WS2007HttpBinding.cs
- XmlIgnoreAttribute.cs
- SupportingTokenDuplexChannel.cs
- ProgressBarHighlightConverter.cs
- XmlCharCheckingWriter.cs
- DateBoldEvent.cs
- SqlBuffer.cs
- UnorderedHashRepartitionStream.cs
- DecoderBestFitFallback.cs
- HttpCapabilitiesSectionHandler.cs
- __Filters.cs
- ResolveDuplexCD1AsyncResult.cs
- ContentValidator.cs
- RealizedColumnsBlock.cs
- WindowsTokenRoleProvider.cs
- MethodBody.cs
- XmlSchemaDocumentation.cs
- DesignTimeType.cs
- FrugalMap.cs
- ListViewItem.cs
- Filter.cs
- DynamicQueryableWrapper.cs
- DbConnectionInternal.cs
- ThrowHelper.cs
- ProviderUtil.cs
- LambdaCompiler.Logical.cs
- PolicyManager.cs
- XsdValidatingReader.cs
- HelpEvent.cs
- BinaryCommonClasses.cs