Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- WebResponse.cs
- MediaContext.cs
- SignHashRequest.cs
- GCHandleCookieTable.cs
- ApplicationException.cs
- StringBuilder.cs
- UnsafeNativeMethods.cs
- Int32Rect.cs
- HashRepartitionEnumerator.cs
- CornerRadiusConverter.cs
- RestHandlerFactory.cs
- BrowserPolicyValidator.cs
- WebPartManager.cs
- LogRecordSequence.cs
- Underline.cs
- SystemGatewayIPAddressInformation.cs
- DecimalAnimationBase.cs
- Dictionary.cs
- DesignerActionHeaderItem.cs
- SocketPermission.cs
- TextTreeExtractElementUndoUnit.cs
- UserControl.cs
- ContentIterators.cs
- dbenumerator.cs
- DashStyles.cs
- IndicFontClient.cs
- CustomAttributeFormatException.cs
- PartialCachingControl.cs
- LinqDataSourceUpdateEventArgs.cs
- coordinator.cs
- SmtpNegotiateAuthenticationModule.cs
- ConfigurationStrings.cs
- EventDescriptor.cs
- HtmlGenericControl.cs
- ExpandCollapsePattern.cs
- AspNetSynchronizationContext.cs
- HealthMonitoringSectionHelper.cs
- WriteableBitmap.cs
- StringAnimationBase.cs
- WizardPanel.cs
- GeneratedContractType.cs
- InputBuffer.cs
- TextSearch.cs
- ToolStripItemImageRenderEventArgs.cs
- FormViewPagerRow.cs
- XmlSecureResolver.cs
- KeyFrames.cs
- DbSource.cs
- SafeTimerHandle.cs
- RSAPKCS1SignatureFormatter.cs
- CodeVariableDeclarationStatement.cs
- XmlSchemaComplexContentExtension.cs
- PinnedBufferMemoryStream.cs
- CompilerInfo.cs
- InternalSafeNativeMethods.cs
- _DomainName.cs
- PackUriHelper.cs
- WebBrowserHelper.cs
- TraceFilter.cs
- Configuration.cs
- TrustLevel.cs
- SocketPermission.cs
- CultureTableRecord.cs
- ReceiveActivityDesignerTheme.cs
- ListChangedEventArgs.cs
- ObjectQueryProvider.cs
- ReaderContextStackData.cs
- ConsumerConnectionPoint.cs
- Int32CollectionConverter.cs
- SequentialWorkflowHeaderFooter.cs
- TimerElapsedEvenArgs.cs
- PointKeyFrameCollection.cs
- DataBindingCollectionConverter.cs
- DocumentGrid.cs
- PenThread.cs
- UIntPtr.cs
- RNGCryptoServiceProvider.cs
- RuleProcessor.cs
- BitmapEffectDrawingContent.cs
- TableRow.cs
- ConsoleCancelEventArgs.cs
- Wildcard.cs
- ComplusEndpointConfigContainer.cs
- StdValidatorsAndConverters.cs
- TreeNodeStyle.cs
- TextReader.cs
- IPipelineRuntime.cs
- UnlockCardRequest.cs
- FlowDocumentPageViewerAutomationPeer.cs
- OLEDB_Util.cs
- VarInfo.cs
- CatchBlock.cs
- InputEventArgs.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ListViewItemMouseHoverEvent.cs
- XamlReader.cs
- SecurityTokenRequirement.cs
- ZipIOModeEnforcingStream.cs
- QuaternionRotation3D.cs
- HierarchicalDataSourceControl.cs