Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- TypeDescriptionProviderAttribute.cs
- DialogResultConverter.cs
- KeyFrames.cs
- SystemIPv6InterfaceProperties.cs
- UriParserTemplates.cs
- UrlAuthFailedErrorFormatter.cs
- InstanceNameConverter.cs
- DataGridRowAutomationPeer.cs
- DictionarySectionHandler.cs
- HttpFileCollection.cs
- XPathSelectionIterator.cs
- ParentQuery.cs
- MsmqInputChannelBase.cs
- TextSelection.cs
- WorkflowIdleBehavior.cs
- SafeArrayRankMismatchException.cs
- ProgramPublisher.cs
- EntityContainerEntitySetDefiningQuery.cs
- HttpDictionary.cs
- DBCommand.cs
- RegisteredDisposeScript.cs
- FloatAverageAggregationOperator.cs
- ObjectMemberMapping.cs
- JsonSerializer.cs
- ToolStripInSituService.cs
- SafeRightsManagementPubHandle.cs
- ByteStreamBufferedMessageData.cs
- HttpFileCollectionBase.cs
- XmlSchemaImport.cs
- DrawingContextDrawingContextWalker.cs
- SqlExpander.cs
- ExpressionBuilder.cs
- SqlEnums.cs
- XsltSettings.cs
- TextBoxView.cs
- ProjectionCamera.cs
- GridItemCollection.cs
- SiteOfOriginPart.cs
- TemplatedWizardStep.cs
- DoubleAnimationBase.cs
- TreePrinter.cs
- DrawingContextDrawingContextWalker.cs
- SimpleExpression.cs
- AddToCollection.cs
- TimelineGroup.cs
- ResourcePermissionBase.cs
- sqlcontext.cs
- PnrpPermission.cs
- AliasGenerator.cs
- DoubleCollection.cs
- XmlSchemaExporter.cs
- sqlinternaltransaction.cs
- ReadOnlyDataSourceView.cs
- _FtpDataStream.cs
- Size.cs
- PrtCap_Builder.cs
- XmlArrayItemAttributes.cs
- ChangePassword.cs
- ToolBarPanel.cs
- METAHEADER.cs
- WorkflowWebHostingModule.cs
- KeyInstance.cs
- ApplicationId.cs
- IImplicitResourceProvider.cs
- EventLogPermissionHolder.cs
- PropertyGridEditorPart.cs
- BatchParser.cs
- SqlProviderUtilities.cs
- ExtensionQuery.cs
- SoapFaultCodes.cs
- DictationGrammar.cs
- OracleConnectionStringBuilder.cs
- Light.cs
- ControlIdConverter.cs
- PositiveTimeSpanValidatorAttribute.cs
- OletxTransactionFormatter.cs
- RtfToXamlReader.cs
- _AcceptOverlappedAsyncResult.cs
- BoundingRectTracker.cs
- InputScopeConverter.cs
- PeerCollaborationPermission.cs
- StringBuilder.cs
- ConnectionInterfaceCollection.cs
- Part.cs
- TemplateXamlTreeBuilder.cs
- RequestCacheManager.cs
- WebControlsSection.cs
- SiteMapProvider.cs
- BaseHashHelper.cs
- ServiceHostingEnvironment.cs
- CurrentTimeZone.cs
- HttpHandlersSection.cs
- ViewCellRelation.cs
- RTLAwareMessageBox.cs
- HttpListenerRequest.cs
- SignatureResourcePool.cs
- CommittableTransaction.cs
- StreamingContext.cs
- CodeNamespace.cs
- ByteAnimationBase.cs