Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlElement.cs / 1305376 / ConfigXmlElement.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 ConfigXmlElement : XmlElement, IConfigErrorInfo { int _line; string _filename; public ConfigXmlElement( string filename, int line, string prefix, string localName, string namespaceUri, XmlDocument doc ) : base( prefix, localName, namespaceUri, 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); ConfigXmlElement clone = cloneNode as ConfigXmlElement; 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 ConfigXmlElement : XmlElement, IConfigErrorInfo { int _line; string _filename; public ConfigXmlElement( string filename, int line, string prefix, string localName, string namespaceUri, XmlDocument doc ) : base( prefix, localName, namespaceUri, 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); ConfigXmlElement clone = cloneNode as ConfigXmlElement; 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
- ProjectionCamera.cs
- BitmapMetadataBlob.cs
- MissingFieldException.cs
- ToolStripDesigner.cs
- TemplateControlParser.cs
- XmlNamespaceDeclarationsAttribute.cs
- XmlComplianceUtil.cs
- DescendentsWalker.cs
- AutoScrollExpandMessageFilter.cs
- CommandLineParser.cs
- ServiceBuildProvider.cs
- Section.cs
- BooleanExpr.cs
- DynamicRouteExpression.cs
- QilBinary.cs
- SynchronizationContext.cs
- SoapTypeAttribute.cs
- DesignerActionItemCollection.cs
- selecteditemcollection.cs
- ViewUtilities.cs
- ObjectSecurityT.cs
- FixedTextView.cs
- MetabaseServerConfig.cs
- OdbcConnectionHandle.cs
- SortedList.cs
- HtmlInputButton.cs
- MemoryRecordBuffer.cs
- PriorityQueue.cs
- ConfigurationPropertyCollection.cs
- AccessControlEntry.cs
- VectorCollection.cs
- RelatedView.cs
- TcpServerChannel.cs
- ListItemParagraph.cs
- ZipIOBlockManager.cs
- SineEase.cs
- BindingListCollectionView.cs
- XmlNamespaceManager.cs
- WorkflowServiceHost.cs
- GenericArgumentsUpdater.cs
- EventLogPermission.cs
- StorageAssociationSetMapping.cs
- BaseParagraph.cs
- RowVisual.cs
- NamespaceList.cs
- ParallelTimeline.cs
- CompModSwitches.cs
- DataColumnCollection.cs
- Ports.cs
- NavigationHelper.cs
- DataPointer.cs
- XD.cs
- CustomAttribute.cs
- OdbcCommand.cs
- SqlStream.cs
- TableItemPattern.cs
- SmiMetaDataProperty.cs
- TakeQueryOptionExpression.cs
- Line.cs
- ConfigXmlElement.cs
- MenuItemBindingCollection.cs
- ConcatQueryOperator.cs
- AlphabeticalEnumConverter.cs
- JapaneseLunisolarCalendar.cs
- ApplicationServiceManager.cs
- sqlnorm.cs
- ContainerSelectorBehavior.cs
- PermissionSetEnumerator.cs
- SettingsPropertyIsReadOnlyException.cs
- XmlArrayItemAttributes.cs
- DispatcherSynchronizationContext.cs
- FixedFindEngine.cs
- OdbcException.cs
- DetailsViewUpdatedEventArgs.cs
- GlobalizationSection.cs
- SeekStoryboard.cs
- Perspective.cs
- Size3D.cs
- StorageFunctionMapping.cs
- ConfigurationSchemaErrors.cs
- DataTransferEventArgs.cs
- PropertyManager.cs
- ToolStripStatusLabel.cs
- sqlnorm.cs
- Configuration.cs
- DtdParser.cs
- StaticFileHandler.cs
- RangeValidator.cs
- WebEvents.cs
- DataComponentNameHandler.cs
- StrokeRenderer.cs
- URLAttribute.cs
- SRDisplayNameAttribute.cs
- NonBatchDirectoryCompiler.cs
- IListConverters.cs
- HTTPNotFoundHandler.cs
- CorrelationKey.cs
- QilNode.cs
- VectorAnimation.cs
- BevelBitmapEffect.cs