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
- ThicknessAnimationBase.cs
- TreeViewCancelEvent.cs
- StreamWriter.cs
- backend.cs
- ElementUtil.cs
- InstanceContextMode.cs
- DbConnectionPoolIdentity.cs
- ProcessRequestArgs.cs
- RuntimeConfig.cs
- ImageIndexConverter.cs
- ExpressionBuilder.cs
- BlobPersonalizationState.cs
- ScriptReferenceEventArgs.cs
- GlobalizationAssembly.cs
- GridViewItemAutomationPeer.cs
- _NegoState.cs
- TextShapeableCharacters.cs
- UnsafeNativeMethods.cs
- WindowsGraphics2.cs
- TargetPerspective.cs
- Hex.cs
- ServiceOperationDetailViewControl.cs
- IssuedTokenServiceCredential.cs
- DLinqTableProvider.cs
- FileDialogPermission.cs
- Cursor.cs
- TCPClient.cs
- TableRowsCollectionEditor.cs
- BindToObject.cs
- _SingleItemRequestCache.cs
- SingleAnimationBase.cs
- SqlClientWrapperSmiStreamChars.cs
- X509ThumbprintKeyIdentifierClause.cs
- DynamicActivityXamlReader.cs
- SystemIPv6InterfaceProperties.cs
- SchemaConstraints.cs
- WinEventQueueItem.cs
- CqlErrorHelper.cs
- HMACSHA512.cs
- XmlDocumentFieldSchema.cs
- JsonReaderWriterFactory.cs
- BaseCodeDomTreeGenerator.cs
- DeclarativeCatalogPart.cs
- XmlAttribute.cs
- HttpChannelHelpers.cs
- Imaging.cs
- ToolStripSplitStackLayout.cs
- SmtpException.cs
- User.cs
- CngUIPolicy.cs
- DataStorage.cs
- XmlElementAttribute.cs
- WindowsGrip.cs
- TableParagraph.cs
- StaticFileHandler.cs
- EventManager.cs
- SqlClientFactory.cs
- LocatorGroup.cs
- BStrWrapper.cs
- AttachedAnnotationChangedEventArgs.cs
- ACL.cs
- HtmlInputImage.cs
- _SingleItemRequestCache.cs
- ReaderWriterLock.cs
- SqlUdtInfo.cs
- BitmapEffectGroup.cs
- CheckBox.cs
- WindowsStartMenu.cs
- LockCookie.cs
- GacUtil.cs
- ReturnType.cs
- updateconfighost.cs
- WsdlImporterElementCollection.cs
- SystemResourceHost.cs
- EdmValidator.cs
- WebFormsRootDesigner.cs
- ExpressionUtilities.cs
- Ipv6Element.cs
- PreviewKeyDownEventArgs.cs
- MarkupProperty.cs
- TextEditorSpelling.cs
- Int64AnimationBase.cs
- ContextQuery.cs
- TypedTableBaseExtensions.cs
- OleDbParameterCollection.cs
- DescendentsWalker.cs
- OleDbRowUpdatingEvent.cs
- LinqDataSourceEditData.cs
- SurrogateSelector.cs
- Encoder.cs
- CommandPlan.cs
- InkCanvasSelectionAdorner.cs
- DiagnosticStrings.cs
- WorkflowOperationContext.cs
- NavigateEvent.cs
- DataContractSerializerSection.cs
- ContainerAction.cs
- SemaphoreSecurity.cs
- KnownTypeAttribute.cs
- TableHeaderCell.cs