Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / Configuration / ConfigXmlCDataSection.cs / 1305376 / 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
- _StreamFramer.cs
- WebConfigurationFileMap.cs
- HTTPNotFoundHandler.cs
- MaterialGroup.cs
- LiteralControl.cs
- TableSectionStyle.cs
- TypeListConverter.cs
- OleDbWrapper.cs
- ToolStripDropDownMenu.cs
- TreeNodeBindingCollection.cs
- BaseAsyncResult.cs
- XPathNodeIterator.cs
- RuntimeCompatibilityAttribute.cs
- WebPartEventArgs.cs
- LogReservationCollection.cs
- InheritedPropertyChangedEventArgs.cs
- COAUTHINFO.cs
- HttpRawResponse.cs
- TreeNodeStyleCollection.cs
- LeftCellWrapper.cs
- GroupBoxRenderer.cs
- ObjectNavigationPropertyMapping.cs
- HTMLTagNameToTypeMapper.cs
- XmlUrlResolver.cs
- EntitySetDataBindingList.cs
- InputLanguageManager.cs
- ExpressionBuilderCollection.cs
- SQLBinary.cs
- SharedStream.cs
- TreeViewItem.cs
- Vector3DAnimation.cs
- WebPartUserCapability.cs
- ThreadStartException.cs
- Encoder.cs
- BooleanSwitch.cs
- Configuration.cs
- SqlProfileProvider.cs
- webclient.cs
- KeyValueConfigurationElement.cs
- SignatureDescription.cs
- HttpStreams.cs
- ToolStripDropDownMenu.cs
- OptimalTextSource.cs
- ItemMap.cs
- HostingEnvironmentSection.cs
- ColorTransformHelper.cs
- HelpPage.cs
- MatrixValueSerializer.cs
- SizeAnimation.cs
- TextDecoration.cs
- UriExt.cs
- ValueChangedEventManager.cs
- BoundColumn.cs
- TextClipboardData.cs
- HttpStreams.cs
- IteratorFilter.cs
- ClientSettingsStore.cs
- TextRangeAdaptor.cs
- SapiRecognizer.cs
- GenericRootAutomationPeer.cs
- FlowDocument.cs
- ParseChildrenAsPropertiesAttribute.cs
- DiscoveryMessageSequence.cs
- BStrWrapper.cs
- SecUtil.cs
- Size3DValueSerializer.cs
- TemplateInstanceAttribute.cs
- Subset.cs
- StaticTextPointer.cs
- ComNativeDescriptor.cs
- DataStreams.cs
- UdpAnnouncementEndpoint.cs
- Crc32.cs
- PartialTrustVisibleAssemblyCollection.cs
- EventMappingSettingsCollection.cs
- TableRow.cs
- PerformanceCountersElement.cs
- TemplateControl.cs
- BidOverLoads.cs
- TogglePattern.cs
- SystemWebSectionGroup.cs
- HtmlToClrEventProxy.cs
- DependentTransaction.cs
- DocumentPageTextView.cs
- PrintPreviewGraphics.cs
- GetPageCompletedEventArgs.cs
- SettingsSection.cs
- CodeLabeledStatement.cs
- BoundPropertyEntry.cs
- Object.cs
- Knowncolors.cs
- DbConnectionHelper.cs
- Viewport3DAutomationPeer.cs
- SmtpTransport.cs
- RepeatBehavior.cs
- ContractMapping.cs
- RequestQueryProcessor.cs
- ItemsControl.cs
- CodeCastExpression.cs
- PostBackOptions.cs