Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / 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
- QilCloneVisitor.cs
- TextAction.cs
- XmlSerializerFactory.cs
- BuildProviderAppliesToAttribute.cs
- System.Data_BID.cs
- PageCache.cs
- ZipIOExtraField.cs
- WebPartsPersonalizationAuthorization.cs
- XsltArgumentList.cs
- FormCollection.cs
- WindowsListViewGroup.cs
- IPAddress.cs
- WebBrowserDocumentCompletedEventHandler.cs
- Faults.cs
- ITextView.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- SmiGettersStream.cs
- XmlRootAttribute.cs
- ColorConvertedBitmapExtension.cs
- Utility.cs
- StylusShape.cs
- ToolStripItemDesigner.cs
- InfoCardPolicy.cs
- WebZone.cs
- HttpHandlerAction.cs
- ExtractCollection.cs
- TaskFileService.cs
- AtomMaterializer.cs
- RuleSettingsCollection.cs
- WebScriptMetadataFormatter.cs
- AssemblyName.cs
- ActiveDocumentEvent.cs
- WebPartTracker.cs
- ProfileParameter.cs
- DockPattern.cs
- WebPartHelpVerb.cs
- HMACSHA1.cs
- DuplexChannelFactory.cs
- PngBitmapEncoder.cs
- DataRowView.cs
- PropertyValueUIItem.cs
- EventSchemaTraceListener.cs
- _SafeNetHandles.cs
- DesignerDataRelationship.cs
- DataGridViewCellEventArgs.cs
- TabletDevice.cs
- DirectionalLight.cs
- SystemEvents.cs
- X509AsymmetricSecurityKey.cs
- DbProviderFactory.cs
- SecurityHelper.cs
- InternalMappingException.cs
- ToolBarButtonDesigner.cs
- WindowsFormsHost.cs
- AnimationClockResource.cs
- FlowDocumentReaderAutomationPeer.cs
- XmlSchemaAny.cs
- PeerName.cs
- SizeLimitedCache.cs
- ApplicationDirectory.cs
- HttpsTransportElement.cs
- RowType.cs
- Debug.cs
- LocalBuilder.cs
- ReadingWritingEntityEventArgs.cs
- RuleElement.cs
- Speller.cs
- CultureInfo.cs
- CodeTypeParameter.cs
- BamlLocalizer.cs
- XmlObjectSerializerReadContextComplexJson.cs
- FrugalMap.cs
- Processor.cs
- WebPartDesigner.cs
- NCryptNative.cs
- EDesignUtil.cs
- ListControl.cs
- SafeCertificateStore.cs
- ParagraphResult.cs
- TreeNodeStyle.cs
- Win32Native.cs
- TargetControlTypeCache.cs
- CriticalHandle.cs
- TransformerConfigurationWizardBase.cs
- ShutDownListener.cs
- BuildProvider.cs
- ResourceExpression.cs
- DesignColumnCollection.cs
- BindingsCollection.cs
- Set.cs
- WebBrowserHelper.cs
- HtmlInputImage.cs
- TransformDescriptor.cs
- WsdlBuildProvider.cs
- FixedBufferAttribute.cs
- ResourceDisplayNameAttribute.cs
- RichTextBox.cs
- AliasExpr.cs
- PTManager.cs
- DiscoveryRequestHandler.cs