Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / Configuration / ConfigXmlWhitespace.cs / 1305376 / 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
- ToolboxComponentsCreatedEventArgs.cs
- MultipleCopiesCollection.cs
- TableRow.cs
- DrawListViewSubItemEventArgs.cs
- NativeMethods.cs
- AssemblyName.cs
- BindingsCollection.cs
- RootBuilder.cs
- ButtonField.cs
- DataGridViewIntLinkedList.cs
- XmlAttributeProperties.cs
- AppDomainFactory.cs
- StylusPoint.cs
- WebPartUserCapability.cs
- CannotUnloadAppDomainException.cs
- InlineObject.cs
- CharEntityEncoderFallback.cs
- ExtensionWindowResizeGrip.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- UnSafeCharBuffer.cs
- ListViewItemCollectionEditor.cs
- _ProxyRegBlob.cs
- DbTransaction.cs
- FormatException.cs
- DataGridViewTopRowAccessibleObject.cs
- TypeUsage.cs
- DesignColumnCollection.cs
- CodeSnippetTypeMember.cs
- CheckBox.cs
- RepeatButton.cs
- XmlException.cs
- RelatedCurrencyManager.cs
- PropertyRecord.cs
- CountdownEvent.cs
- CodeBinaryOperatorExpression.cs
- Label.cs
- ScrollContentPresenter.cs
- Thickness.cs
- WinFormsSpinner.cs
- ErrorWebPart.cs
- ElementNotAvailableException.cs
- CodeSnippetCompileUnit.cs
- Table.cs
- HelpFileFileNameEditor.cs
- CodeAttachEventStatement.cs
- Polyline.cs
- FrameworkContentElement.cs
- CursorEditor.cs
- NetworkCredential.cs
- IfJoinedCondition.cs
- HtmlControl.cs
- SpotLight.cs
- BuilderInfo.cs
- CompositionAdorner.cs
- CollectionChange.cs
- TypeSystem.cs
- SafeViewOfFileHandle.cs
- XhtmlBasicValidatorAdapter.cs
- Transform3D.cs
- XmlSortKey.cs
- Ref.cs
- WS2007HttpBindingCollectionElement.cs
- EventlogProvider.cs
- SingleAnimation.cs
- FocusManager.cs
- WindowsIdentity.cs
- InternalTypeHelper.cs
- WindowsFont.cs
- WebExceptionStatus.cs
- MetadataCollection.cs
- UmAlQuraCalendar.cs
- StrongNameIdentityPermission.cs
- EventHandlersStore.cs
- TemplatedAdorner.cs
- FixedSOMImage.cs
- _NestedSingleAsyncResult.cs
- ActivityXRefPropertyEditor.cs
- GlyphTypeface.cs
- IPipelineRuntime.cs
- QueryCacheKey.cs
- InputBinding.cs
- ViewGenResults.cs
- InputLanguageManager.cs
- SingleBodyParameterMessageFormatter.cs
- AuthenticationModuleElement.cs
- SmiEventStream.cs
- ApplicationBuildProvider.cs
- ITextView.cs
- WSSecurityPolicy.cs
- RegexMatchCollection.cs
- SchemaTypeEmitter.cs
- AutomationPatternInfo.cs
- NameNode.cs
- SynchronizationLockException.cs
- TextEndOfParagraph.cs
- Vector3DCollectionValueSerializer.cs
- WebDescriptionAttribute.cs
- __ConsoleStream.cs
- ThreadPool.cs
- UserMapPath.cs