Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ListViewGroupItemCollection.cs
- DrawingCollection.cs
- ElementAction.cs
- Hashtable.cs
- WSSecurityJan2004.cs
- ExpressionBuilder.cs
- SizeConverter.cs
- WindowsUserNameCachingSecurityTokenAuthenticator.cs
- SupportsEventValidationAttribute.cs
- Effect.cs
- DependencyPropertyChangedEventArgs.cs
- AssemblyHash.cs
- ReceiveSecurityHeaderEntry.cs
- XslAst.cs
- Aes.cs
- ExpressionBuilder.cs
- IRCollection.cs
- DataGridColumnFloatingHeader.cs
- CompoundFileStreamReference.cs
- MenuItemCollection.cs
- DataTableMapping.cs
- UserControl.cs
- Base64Encoder.cs
- FixedTextPointer.cs
- UserControlDocumentDesigner.cs
- IdentitySection.cs
- IdentityValidationException.cs
- FlowDocument.cs
- CompositeClientFormatter.cs
- EntityCollection.cs
- FrameworkRichTextComposition.cs
- DynamicControlParameter.cs
- dtdvalidator.cs
- VectorKeyFrameCollection.cs
- SeverityFilter.cs
- FirstMatchCodeGroup.cs
- SqlIdentifier.cs
- RSAProtectedConfigurationProvider.cs
- CustomSignedXml.cs
- WebWorkflowRole.cs
- TypeSemantics.cs
- PropertyIdentifier.cs
- TextServicesProperty.cs
- SafeRegistryKey.cs
- SafeNativeMethods.cs
- PropertyExpression.cs
- UiaCoreTypesApi.cs
- HandoffBehavior.cs
- CompiledIdentityConstraint.cs
- MimePart.cs
- ArgumentNullException.cs
- safePerfProviderHandle.cs
- EntityType.cs
- ResourceAssociationSet.cs
- CollectionBase.cs
- ColorTranslator.cs
- TypefaceMetricsCache.cs
- log.cs
- ComponentEvent.cs
- DbParameterCollectionHelper.cs
- ReadOnlyDataSource.cs
- InkCanvasFeedbackAdorner.cs
- WorkerRequest.cs
- MailHeaderInfo.cs
- Accessors.cs
- ActivityWithResultWrapper.cs
- ComponentChangedEvent.cs
- DataGridCell.cs
- Control.cs
- PerspectiveCamera.cs
- ComplexLine.cs
- CodeBlockBuilder.cs
- MutexSecurity.cs
- GeneralTransform3D.cs
- Errors.cs
- ListBox.cs
- TdsRecordBufferSetter.cs
- DataRelation.cs
- AxHost.cs
- ContourSegment.cs
- RealProxy.cs
- BlurBitmapEffect.cs
- Exception.cs
- GridView.cs
- SelectingProviderEventArgs.cs
- WebUtility.cs
- Activity.cs
- TraceUtils.cs
- HttpRequest.cs
- ClickablePoint.cs
- _NegoStream.cs
- DbDataReader.cs
- FileDialog_Vista.cs
- NonSerializedAttribute.cs
- SQLInt64Storage.cs
- CacheVirtualItemsEvent.cs
- CustomAttribute.cs
- NCryptNative.cs
- RegistrationServices.cs
- WebControl.cs