Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- JumpTask.cs
- EventSetter.cs
- DataBindEngine.cs
- PathNode.cs
- TypeForwardedToAttribute.cs
- TypeTypeConverter.cs
- ScriptControl.cs
- ProgressChangedEventArgs.cs
- SmiEventStream.cs
- XhtmlBasicListAdapter.cs
- Select.cs
- InternalResources.cs
- CheckBoxPopupAdapter.cs
- ConnectionPoint.cs
- WriterOutput.cs
- XmlSchemaValidator.cs
- XmlSyndicationContent.cs
- StructuredType.cs
- ElementFactory.cs
- GradientStop.cs
- DiscardableAttribute.cs
- SslStreamSecurityUpgradeProvider.cs
- UserValidatedEventArgs.cs
- FontUnit.cs
- DataServiceConfiguration.cs
- ExpressionWriter.cs
- SQLDateTime.cs
- ConnectionProviderAttribute.cs
- SafeCryptContextHandle.cs
- StylusButtonCollection.cs
- ResXResourceReader.cs
- SHA256.cs
- GradientBrush.cs
- XmlSchemaValidationException.cs
- DataGridViewCellValueEventArgs.cs
- UpdateCommand.cs
- MultiTrigger.cs
- ObjectDataProvider.cs
- X509CertificateCollection.cs
- WebDisplayNameAttribute.cs
- TypeDependencyAttribute.cs
- ToolStripItemBehavior.cs
- HtmlTitle.cs
- ListViewDeletedEventArgs.cs
- RetrieveVirtualItemEventArgs.cs
- NotifyParentPropertyAttribute.cs
- HttpConfigurationSystem.cs
- WebMessageEncoderFactory.cs
- MarshalDirectiveException.cs
- Italic.cs
- Configuration.cs
- Delay.cs
- XmlSchemaAttributeGroup.cs
- OperationCanceledException.cs
- XamlSerializerUtil.cs
- StickyNoteContentControl.cs
- Collection.cs
- SystemIcmpV6Statistics.cs
- SourceFileBuildProvider.cs
- TableItemProviderWrapper.cs
- _BaseOverlappedAsyncResult.cs
- ChildTable.cs
- ValidationErrorEventArgs.cs
- RequestCacheManager.cs
- MetaTable.cs
- ObjectCloneHelper.cs
- PaperSource.cs
- RolePrincipal.cs
- SamlConstants.cs
- EventSchemaTraceListener.cs
- IImplicitResourceProvider.cs
- FullTrustAssembliesSection.cs
- XmlSchemaSimpleTypeRestriction.cs
- WindowsRichEdit.cs
- InkCanvasInnerCanvas.cs
- DataGridViewRowsAddedEventArgs.cs
- ItemMap.cs
- ActivationWorker.cs
- ByteStack.cs
- HtmlTextArea.cs
- _DisconnectOverlappedAsyncResult.cs
- SqlDependencyUtils.cs
- MailMessage.cs
- OperationPickerDialog.designer.cs
- EntityType.cs
- DataTransferEventArgs.cs
- LongMinMaxAggregationOperator.cs
- WebEventCodes.cs
- ToolStripProgressBar.cs
- ToolStripComboBox.cs
- PeerInvitationResponse.cs
- Int32AnimationBase.cs
- HttpAsyncResult.cs
- DependencyPropertyValueSerializer.cs
- ToolStripDropDownItem.cs
- LoaderAllocator.cs
- WebFormDesignerActionService.cs
- QuaternionRotation3D.cs
- SpeechAudioFormatInfo.cs
- BindableTemplateBuilder.cs