Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Configuration / 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
- TraceHwndHost.cs
- SRef.cs
- FixedDSBuilder.cs
- FileEnumerator.cs
- QilXmlWriter.cs
- ServiceOperation.cs
- HtmlWindowCollection.cs
- SemanticResolver.cs
- DesignerDataRelationship.cs
- BooleanToVisibilityConverter.cs
- HttpFileCollectionWrapper.cs
- AttributedMetaModel.cs
- ContentPosition.cs
- PageBuildProvider.cs
- FileDialogPermission.cs
- SettingsPropertyNotFoundException.cs
- UIElement.cs
- ObjectToIdCache.cs
- SchemaEntity.cs
- CustomWebEventKey.cs
- BuildResult.cs
- ParamArrayAttribute.cs
- DataGridViewRowPostPaintEventArgs.cs
- GeometryCombineModeValidation.cs
- InvokeWebServiceDesigner.cs
- Selector.cs
- TimeoutValidationAttribute.cs
- ServiceOperationWrapper.cs
- CipherData.cs
- SamlAssertion.cs
- Vector3DCollectionValueSerializer.cs
- PreviewKeyDownEventArgs.cs
- CellLabel.cs
- PtsHost.cs
- ClientCultureInfo.cs
- ValueHandle.cs
- CmsUtils.cs
- Point.cs
- SafeThreadHandle.cs
- StylusButtonEventArgs.cs
- DbgUtil.cs
- FileUtil.cs
- InheritanceService.cs
- XslVisitor.cs
- MarshalByRefObject.cs
- SerializationHelper.cs
- DoubleLinkList.cs
- SqlInternalConnection.cs
- ThicknessAnimationUsingKeyFrames.cs
- Int64Converter.cs
- ManipulationStartingEventArgs.cs
- Button.cs
- ToolStripContentPanelRenderEventArgs.cs
- XsltCompileContext.cs
- Translator.cs
- PerformanceCounter.cs
- GeneralTransform2DTo3DTo2D.cs
- CalendarDay.cs
- WebServiceFault.cs
- SelectionRange.cs
- WindowInteropHelper.cs
- ErrorHandlingAcceptor.cs
- BitStack.cs
- OdbcConnectionPoolProviderInfo.cs
- Schema.cs
- AnnotationComponentChooser.cs
- Point3DAnimationUsingKeyFrames.cs
- RightsManagementEncryptedStream.cs
- InvokeHandlers.cs
- GatewayIPAddressInformationCollection.cs
- TemplatePropertyEntry.cs
- Stacktrace.cs
- QueryCursorEventArgs.cs
- SynchronizationValidator.cs
- InstanceHandleConflictException.cs
- SpAudioStreamWrapper.cs
- CodeIdentifiers.cs
- StringExpressionSet.cs
- VectorCollection.cs
- DesignerAttribute.cs
- validation.cs
- Brushes.cs
- BitmapEffectGeneralTransform.cs
- IndexedEnumerable.cs
- Page.cs
- EntityKey.cs
- HwndAppCommandInputProvider.cs
- XmlSerializerOperationGenerator.cs
- FlowNode.cs
- ActivationServices.cs
- SafeProcessHandle.cs
- RijndaelManagedTransform.cs
- PersonalizationStateInfoCollection.cs
- DataColumnMapping.cs
- StylusTip.cs
- Brush.cs
- JapaneseCalendar.cs
- objectquery_tresulttype.cs
- EdmScalarPropertyAttribute.cs
- ReadOnlyNameValueCollection.cs