Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- TypeHelpers.cs
- InputEventArgs.cs
- CfgSemanticTag.cs
- RelationshipType.cs
- Transform.cs
- CodeLinePragma.cs
- returneventsaver.cs
- TextEffectCollection.cs
- ListBox.cs
- DataRowView.cs
- TextSegment.cs
- UInt32Storage.cs
- InvokeBase.cs
- XmlIgnoreAttribute.cs
- WinCategoryAttribute.cs
- DynamicMethod.cs
- ColumnHeaderConverter.cs
- ClientType.cs
- XDRSchema.cs
- ManagementEventArgs.cs
- DataGridViewRow.cs
- MissingFieldException.cs
- basevalidator.cs
- CacheRequest.cs
- TextRunTypographyProperties.cs
- DefaultMemberAttribute.cs
- StreamReader.cs
- WebScriptEnablingElement.cs
- CommandLineParser.cs
- Symbol.cs
- Exceptions.cs
- ZipIOLocalFileHeader.cs
- XmlSchemaSimpleTypeRestriction.cs
- PartialArray.cs
- HttpTransportManager.cs
- FilterableAttribute.cs
- ComboBoxHelper.cs
- ChangeInterceptorAttribute.cs
- ImageMetadata.cs
- CodeDomSerializerBase.cs
- GridItem.cs
- EditorPartChrome.cs
- AVElementHelper.cs
- TypeForwardedToAttribute.cs
- TableLayoutPanelCellPosition.cs
- DataGridColumn.cs
- PrtTicket_Base.cs
- ChangeDirector.cs
- securestring.cs
- DataPagerFieldCollection.cs
- Visual3D.cs
- SerializationStore.cs
- AlphaSortedEnumConverter.cs
- GeometryCombineModeValidation.cs
- ToolStripOverflowButton.cs
- PrintController.cs
- EmbeddedMailObject.cs
- _BufferOffsetSize.cs
- RowParagraph.cs
- AnnotationHelper.cs
- EncryptedPackage.cs
- XmlAnyAttributeAttribute.cs
- SystemWebSectionGroup.cs
- MethodBody.cs
- Attributes.cs
- NavigateEvent.cs
- HtmlContainerControl.cs
- SectionInformation.cs
- KoreanCalendar.cs
- XmlSchemaComplexContentExtension.cs
- RelationshipEndCollection.cs
- SafeWaitHandle.cs
- TextPointer.cs
- TextSelectionHighlightLayer.cs
- DashStyles.cs
- LinkClickEvent.cs
- ServiceInfo.cs
- Stackframe.cs
- SortQuery.cs
- XmlEncoding.cs
- ParallelEnumerableWrapper.cs
- DocumentApplication.cs
- HashHelpers.cs
- DataGridColumnCollection.cs
- MenuAutomationPeer.cs
- OracleConnection.cs
- DynamicDiscoveryDocument.cs
- ReceiveActivityValidator.cs
- TextEditorSpelling.cs
- RecipientInfo.cs
- SQLChars.cs
- UniformGrid.cs
- ParagraphVisual.cs
- BuilderPropertyEntry.cs
- PartialToken.cs
- PageAsyncTaskManager.cs
- XmlBinaryReaderSession.cs
- DoubleLinkListEnumerator.cs
- DeviceContexts.cs
- ServiceDocumentFormatter.cs