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
- Helper.cs
- PartitionedStream.cs
- DeferredElementTreeState.cs
- EpmSourceTree.cs
- DataFormats.cs
- TreeBuilder.cs
- SqlTriggerContext.cs
- HtmlInputPassword.cs
- NotifyInputEventArgs.cs
- AuthenticationException.cs
- SourceFileInfo.cs
- CfgParser.cs
- Brush.cs
- COM2Enum.cs
- DataGridViewUtilities.cs
- WebBrowserEvent.cs
- _UncName.cs
- SchemaLookupTable.cs
- WebPartConnectionsCancelEventArgs.cs
- EntityDataSourceWrapper.cs
- WebPartCollection.cs
- RegistrySecurity.cs
- CancellationScope.cs
- PKCS1MaskGenerationMethod.cs
- ProfileInfo.cs
- FlagPanel.cs
- IntegerCollectionEditor.cs
- TraceHandler.cs
- XmlDocument.cs
- SerTrace.cs
- MessageBox.cs
- SrgsElementFactoryCompiler.cs
- IdentityValidationException.cs
- XmlSerializerSection.cs
- PreservationFileReader.cs
- XamlFilter.cs
- MultipleViewProviderWrapper.cs
- Attribute.cs
- ServiceHttpHandlerFactory.cs
- AtomicFile.cs
- ListQueryResults.cs
- WebConfigurationHost.cs
- ConfigXmlText.cs
- XmlCharCheckingWriter.cs
- Confirm.cs
- PartialCachingControl.cs
- VersionedStreamOwner.cs
- Lease.cs
- XsltOutput.cs
- WpfKnownType.cs
- XhtmlBasicValidatorAdapter.cs
- WebPartConnectionsCancelVerb.cs
- UInt32Storage.cs
- TextProperties.cs
- CurrentTimeZone.cs
- TrustManagerPromptUI.cs
- PersonalizationProvider.cs
- FontStretches.cs
- PopupRootAutomationPeer.cs
- UdpTransportSettings.cs
- XmlSchemaType.cs
- ConfigXmlWhitespace.cs
- CapabilitiesAssignment.cs
- SmtpAuthenticationManager.cs
- SqlDependency.cs
- ParseNumbers.cs
- Pair.cs
- SoapMessage.cs
- brushes.cs
- PersonalizationProviderHelper.cs
- PersistStreamTypeWrapper.cs
- SmtpAuthenticationManager.cs
- ISessionStateStore.cs
- _TransmitFileOverlappedAsyncResult.cs
- MessageLogger.cs
- Imaging.cs
- DocComment.cs
- FileClassifier.cs
- TextParaClient.cs
- SiteMapNodeItem.cs
- ThreadAttributes.cs
- SctClaimDictionary.cs
- ContainerUIElement3D.cs
- SafeFileHandle.cs
- MultiByteCodec.cs
- relpropertyhelper.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- SafeLibraryHandle.cs
- RichTextBoxAutomationPeer.cs
- TextProperties.cs
- OutputWindow.cs
- TableHeaderCell.cs
- SqlEnums.cs
- NativeMethods.cs
- arabicshape.cs
- PersonalizationState.cs
- SplitterCancelEvent.cs
- XmlHelper.cs
- XamlSerializerUtil.cs
- AppModelKnownContentFactory.cs