Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- LocalizationComments.cs
- FileClassifier.cs
- OdbcPermission.cs
- AliasGenerator.cs
- EncryptedPackage.cs
- SqlBulkCopyColumnMapping.cs
- Span.cs
- TextRunTypographyProperties.cs
- RowTypePropertyElement.cs
- BinaryObjectInfo.cs
- Trace.cs
- ListView.cs
- OracleNumber.cs
- util.cs
- WmlPanelAdapter.cs
- LayoutEngine.cs
- MappingMetadataHelper.cs
- HttpSessionStateBase.cs
- TrackingProvider.cs
- WsatAdminException.cs
- StringPropertyBuilder.cs
- ToolboxItemWrapper.cs
- NumericUpDownAcceleration.cs
- DefaultTraceListener.cs
- QilStrConcat.cs
- LinkLabel.cs
- PageSettings.cs
- ExpressionParser.cs
- InstanceDescriptor.cs
- HitTestWithGeometryDrawingContextWalker.cs
- DecimalAnimationBase.cs
- DurableTimerExtension.cs
- DataConnectionHelper.cs
- ReadWriteObjectLock.cs
- RuleProcessor.cs
- EmptyControlCollection.cs
- FreezableOperations.cs
- QueryActivatableWorkflowsCommand.cs
- Marshal.cs
- TextElementCollectionHelper.cs
- PageBuildProvider.cs
- SqlNotificationEventArgs.cs
- AuthenticationServiceManager.cs
- HwndAppCommandInputProvider.cs
- GeometryDrawing.cs
- ListManagerBindingsCollection.cs
- XmlSignificantWhitespace.cs
- CacheSection.cs
- UITypeEditor.cs
- ConfigXmlReader.cs
- TextParentUndoUnit.cs
- LinkedList.cs
- ProxyManager.cs
- MembershipValidatePasswordEventArgs.cs
- EntityConnectionStringBuilder.cs
- CustomLineCap.cs
- FontInfo.cs
- AutomationElement.cs
- ReadContentAsBinaryHelper.cs
- HyperLinkField.cs
- AnnotationStore.cs
- MobileComponentEditorPage.cs
- ReferenceEqualityComparer.cs
- BulletChrome.cs
- CodeAttributeDeclarationCollection.cs
- PathFigureCollectionValueSerializer.cs
- PointUtil.cs
- AssociatedControlConverter.cs
- ObjectResult.cs
- GridViewAutomationPeer.cs
- SystemParameters.cs
- ListCollectionView.cs
- SQLInt32Storage.cs
- _Semaphore.cs
- Accessors.cs
- TextTreeText.cs
- SafeEventHandle.cs
- Baml6Assembly.cs
- XmlJsonReader.cs
- DispatcherObject.cs
- IndexOutOfRangeException.cs
- DataSourceConverter.cs
- SimpleFieldTemplateUserControl.cs
- GenericWebPart.cs
- ValueQuery.cs
- StylusSystemGestureEventArgs.cs
- PageThemeBuildProvider.cs
- UserPersonalizationStateInfo.cs
- ToolboxComponentsCreatingEventArgs.cs
- CrossContextChannel.cs
- Substitution.cs
- DataErrorValidationRule.cs
- PackageProperties.cs
- DataGridViewMethods.cs
- DrawTreeNodeEventArgs.cs
- PrimarySelectionAdorner.cs
- ProcessInfo.cs
- SmtpSection.cs
- SafeProcessHandle.cs
- TextElementAutomationPeer.cs