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 / ConfigXmlCDataSection.cs / 1 / ConfigXmlCDataSection.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 ConfigXmlCDataSection : XmlCDataSection, IConfigErrorInfo { int _line; string _filename; public ConfigXmlCDataSection( string filename, int line, string data, XmlDocument doc ) : base( data, doc) { _line = line; _filename = filename; } int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlCDataSection clone = cloneNode as ConfigXmlCDataSection; 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 ConfigXmlCDataSection : XmlCDataSection, IConfigErrorInfo { int _line; string _filename; public ConfigXmlCDataSection( string filename, int line, string data, XmlDocument doc ) : base( data, doc) { _line = line; _filename = filename; } int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlCDataSection clone = cloneNode as ConfigXmlCDataSection; 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
- ExpressionEditorAttribute.cs
- EntityCommandExecutionException.cs
- DaylightTime.cs
- XmlSiteMapProvider.cs
- TableLayoutCellPaintEventArgs.cs
- TreeWalker.cs
- WebPartVerbCollection.cs
- ButtonField.cs
- ClosableStream.cs
- _Win32.cs
- KeyValueConfigurationElement.cs
- PageCatalogPart.cs
- XMLDiffLoader.cs
- XmlWrappingWriter.cs
- UndoManager.cs
- keycontainerpermission.cs
- ListGeneralPage.cs
- _IPv4Address.cs
- ChangeNode.cs
- XmlUrlResolver.cs
- IODescriptionAttribute.cs
- CultureInfoConverter.cs
- EventLogStatus.cs
- SimpleParser.cs
- ProcessModuleCollection.cs
- UpdatePanelTriggerCollection.cs
- HMACSHA512.cs
- InkPresenterAutomationPeer.cs
- QilBinary.cs
- DispatchChannelSink.cs
- WindowsListBox.cs
- XmlMemberMapping.cs
- RTLAwareMessageBox.cs
- NTAccount.cs
- FieldNameLookup.cs
- StagingAreaInputItem.cs
- WebPartEditorOkVerb.cs
- GridItem.cs
- CounterCreationData.cs
- HtmlInputPassword.cs
- SupportsEventValidationAttribute.cs
- MemoryMappedFile.cs
- ProtocolsConfigurationHandler.cs
- ListView.cs
- DataBoundLiteralControl.cs
- FixedPosition.cs
- DataGridViewCheckBoxColumn.cs
- Missing.cs
- WindowsFormsHostAutomationPeer.cs
- QilPatternFactory.cs
- Empty.cs
- IntSecurity.cs
- ISessionStateStore.cs
- RunInstallerAttribute.cs
- SelectionChangedEventArgs.cs
- WCFServiceClientProxyGenerator.cs
- _FtpControlStream.cs
- ConfigurationPropertyAttribute.cs
- XmlStrings.cs
- Pts.cs
- CollectionType.cs
- ContextConfiguration.cs
- Run.cs
- Vector3DAnimation.cs
- InternalBufferOverflowException.cs
- ScrollEvent.cs
- RemoteWebConfigurationHostStream.cs
- ListViewUpdatedEventArgs.cs
- SqlError.cs
- DbProviderConfigurationHandler.cs
- WebServiceParameterData.cs
- DispatchChannelSink.cs
- ConfigurationLocation.cs
- KeyedHashAlgorithm.cs
- Visitor.cs
- FontSourceCollection.cs
- X509InitiatorCertificateClientElement.cs
- Odbc32.cs
- OleDbWrapper.cs
- PerformanceCounterManager.cs
- FocusManager.cs
- TreeViewCancelEvent.cs
- Label.cs
- StylusOverProperty.cs
- TypeContext.cs
- HeaderUtility.cs
- ValidatorCollection.cs
- MessageLoggingFilterTraceRecord.cs
- MetadataResolver.cs
- SystemException.cs
- BitmapSizeOptions.cs
- NetworkStream.cs
- MissingManifestResourceException.cs
- DrawingContextDrawingContextWalker.cs
- CustomErrorsSectionWrapper.cs
- WpfKnownMember.cs
- StylusEventArgs.cs
- TextBoxBase.cs
- SqlException.cs
- MediaTimeline.cs